/    Sign up×
Community /Pin to ProfileBookmark

index.php?alink=………. please explain

I wish to know how this referral link actually works.
I want to create a page that will work through all registration processes. I will like to have all process on the index.php file. For instances, I want php to verify if a user has input a file or not and display the error on the topmost of the first field.
I will appreciate it if any one can asap.
Thanks.

to post a comment
PHP

5 Comments(s)

Copy linkTweet thisAlerts:
@Li0rEJun 02.2006 — You were extremely unclear with what you want. Can you please try to explain it better so people can help?
Copy linkTweet thisAlerts:
@MrCoderJun 02.2006 — Look at [URL=http://uk2.php.net/manual/en/reserved.variables.php#reserved.variables.server]$_GET and $_POST[/URL]
Copy linkTweet thisAlerts:
@itbeingsauthorJun 05.2006 — what I need to know is how I can work with php to make a site handy. For instances, I want to know how I can work all processes of registration on a single page without moving to another page.

Unlike moving from page1.html to page2.html to page3.html then to thankyou.html, I want to work/process every info on index.php and then a thankyou message on the same page and back to login page.

I hope I've myself explained better.

Thanks geeks.
Copy linkTweet thisAlerts:
@jayman08Jun 05.2006 — I think you are talking about $QUERY_STRINGs. I just started using these to. what you want is index.php?something and index.php?something-else right?

if($QUERY_STRING=="something"){

print '<form><input type=.........

..........................what you want to put here, form, images,whatever

also check out http://www.devpapers.com/article/39 for a better tutorial on query strings
Copy linkTweet thisAlerts:
@SheldonJun 05.2006 — I think http://php.net/switch is what you want

And i dont know how many people here will appreciate being called a geek!

Thanks geeks.[/QUOTE]
×

Success!

Help @itbeings spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...