Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Old 01-02-2006, 05:46 PM Is there a way?
Novice Talker

Posts: 7
Trades: 0
Is there a way to make a php script that makes a random page for users? Like when they submit a form it creates and taker the person to a random page with that info they just filled out?

Thanks,
NotConcernin
Notconcernin is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 01-02-2006, 05:56 PM
Village Idiot's Avatar
Webmaster Talker

Posts: 535
Trades: 0
you mean you want to have a form that you fill info in, and you have like 20 different templates, you go to a random template and use the info givin?
eg

form:
what would you like the title to be: hello, welcome to this site

what would you like the content to be: I am glad you came

*takes you to random page, 1-20, you land on 6.

page 6:

hello and welcome to this site.
I am glad you came

if so, yes
__________________
I have the heart of a child, I keep it in a jar on my desk.
Village Idiot is offline
Reply With Quote
View Public Profile
 
Old 01-02-2006, 06:26 PM
Novice Talker

Posts: 7
Trades: 0
I was kinda think like a different page everytime....since I only want 1 user on that page because someone else can't use it......Once they fill out all the fields in to form somehow I dunno how it makes a new page and takes it to that page that were the info the put in will be

This form would be the same always just a different page
Notconcernin is offline
Reply With Quote
View Public Profile
 
Old 01-02-2006, 08:03 PM
Village Idiot's Avatar
Webmaster Talker

Posts: 535
Trades: 0
what? more than one user can view the same page
__________________
I have the heart of a child, I keep it in a jar on my desk.
Village Idiot is offline
Reply With Quote
View Public Profile
 
Old 01-02-2006, 08:04 PM
Novice Talker

Posts: 7
Trades: 0
Nvm I think I am gonna do it a different way

What I ment was this

www.shadowzulf.srcom.info/

That form would be the same but when they click "Send" it make a new file in the CPanel and take them to it right now it only take them to test.php
Notconcernin is offline
Reply With Quote
View Public Profile
 
Old 01-02-2006, 08:56 PM
Novice Talker

Posts: 7
Trades: 0
Well I was gona make it so users could reister but I know 0 about mySQL so I don;t know :/
Notconcernin is offline
Reply With Quote
View Public Profile
 
Old 01-02-2006, 11:51 PM
Village Idiot's Avatar
Webmaster Talker

Posts: 535
Trades: 0
no need to make a new file, just have one that can display the dynamic content.

form what I have heard you are under the impression that a page can be viewed by 1 person at a time, that is not true.
__________________
I have the heart of a child, I keep it in a jar on my desk.
Village Idiot is offline
Reply With Quote
View Public Profile
 
Old 01-03-2006, 02:52 PM
Novice Talker

Posts: 7
Trades: 0
I know more than 1 user can visit it but that an AIM profile site that I am making.....I want it to be when they click submit the php code would tell CPanel to make a new page example would be 1.php, 2.php,3.php and so on

Hope that explains it better
Notconcernin is offline
Reply With Quote
View Public Profile
 
Old 01-03-2006, 03:16 PM
Village Idiot's Avatar
Webmaster Talker

Posts: 535
Trades: 0
I understand what you are doing.
__________________
I have the heart of a child, I keep it in a jar on my desk.
Village Idiot is offline
Reply With Quote
View Public Profile
 
Old 01-03-2006, 03:31 PM
Novice Talker

Posts: 7
Trades: 0
I think it would be quite complicated to make.....and I am stumped

The way I have it set up no one can use it because everythime someone edits it, it changes the page I have it going to
Notconcernin is offline
Reply With Quote
View Public Profile
 
Old 01-03-2006, 04:48 PM
funkdaddu's Avatar
Web Design Snob

Posts: 635
Trades: 0
So you're trying to make a profile page that people can come back to later on? You need to set up a database, have people register, and then input their info into their entry into a database, then they can call the info back up using a database query. Check out this tutorial to get a basic on MySQL and PHP and then you might have the details to do it:
http://www.webmonkey.com/webmonkey/p...tutorial4.html

But I don't get the "random" part of it... how is the page going to be random?
funkdaddu is offline
Reply With Quote
View Public Profile Visit funkdaddu's homepage!
 
Old 01-03-2006, 05:03 PM
Novice Talker

Posts: 7
Trades: 0
Yea I guess there wouldn't be a random

I will check it out I guess what I am aiming for is to let users register then let them make their own profile
Notconcernin is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Is there a way?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.34809 seconds with 12 queries