This is a discussion on PHP Help within the PHP Programming forums, part of the Web Development category; Well, I was wondering if anyone could give me a script I can use to get a entered value from ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| Well, I was wondering if anyone could give me a script I can use to get a entered value from a post form (e.g Username) and check to see if the username exists in a plain txt file I have with usernames separated by a line break, thanks in advanced. |
|
#2
| |||
| |||
| Hi, The below example can help u to find solution PHP Code: HTML Code: user1 user2 user3 user4
__________________ With, J. Jeyaseelan Everything Possible |
|
#3
| |||
| |||
| I have a php script that will send an email to the user with a new generated password. The only problem is that it requires me to have a mail server set up which I can't seem to figure out how to set up, so how can I use a Gmail account to do the sending of the emails? Is this even possible? Last edited by arjkhanna : 06-28-2009 at 07:15 PM. |
|
#4
| |||
| |||
| I tryed to compile minimalistic design with maxim site speed. Please tell me what you think about. |
|
#5
| |||
| |||
| In post.php, add each post to array and then echo the array contents to output the posts. Then include post.php in homepage.php. post.php ------------- $post = array(); $post[0] = "<h1>Post #1</h1>This is post #1"; $post[1] = "<h1>Post #2</h1>This is post #2"; $post[2] = "<h1>Post #3</h1>This is post #3"; foreach ($post as $x) { echo $x; } echo "<h1>More posts</h1>More posts here!"; myhome.php ------------------- require_once('post.php'); // Gives you access to all the stuff in post.php echo "Let's see the first three posts: "; foreach ($post as $x) { echo $x; } echo "Stuff on homepage other than top posts."; |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Our Partners |