The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.
|
 |
|
Dev Shed Forums
> Other
> Development Articles
|
Page 5 -
PHP 101 (part 5) - The Wonderland Factor
Page 5 - Discuss PHP 101 (part 5) - The Wonderland Factor in the Development Articles forum on Dev Shed. PHP 101 (part 5) - The Wonderland Factor Development Articles forum discussing articles and tutorials located at http://www.devshed.com. See what our authors have created for your viewing pleasure.
|
|
 |
|
|
|
|
|

Dev Shed Forums Sponsor:
|
|
|

January 17th, 2001, 01:21 PM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
Re: PHP 101 is right
Yes it would be helpfull to a troller/lamer like you.
No it wouldn't be helpfull to someone that supports PHP like me and has to fingure out what the hell you are doing.
<a href="http://www.linuxguruz.org/z.php">
http://www.linuxguruz.org/z.php</a>
|

February 17th, 2001, 10:30 PM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
graffiti.php4
That file is called but I don't see the script for it anywhere?
|

March 24th, 2001, 05:02 PM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
Re: Cookies
why r u talking about cookies? this is a programming discussion so plz stop talking about snacks.
and just 4 the record, i like chocolit chip cookies they r the best.
|

April 15th, 2001, 01:00 AM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
PHP 101
I am an experienced HTML programmer but have very little experience in scripting/programming other than VB4, lol.
This tutorial was absolutely amazing, it has given me enough understanding to convert my business web site to php indexing.
Thanks guys!!!
|

April 23rd, 2001, 09:41 PM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
Re: PHP 101 is right
right
|

June 2nd, 2001, 07:58 PM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
Apostrophes
When I include a text file that contains apostrophes ('), why does php automatically put a slash (\) infront of it? Is there anyway to fix this?
|

June 9th, 2001, 04:26 PM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
Re: Apostrophes
Use the str_replace function.
|

June 13th, 2001, 10:30 AM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
usernames
Is there any way to get PHP to grab a linux/unix username?
|

July 6th, 2001, 02:55 AM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
Re: Apostrophes
thankyou
|

August 1st, 2001, 09:11 AM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
where's part
it says C U next week in september but there's no follow up!
|

September 16th, 2001, 10:03 AM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
Graffiti.php4 will not work
I am really really frustrated. I have just spent 2 hrs trying everything I can think of to get the graffiti example to work on my server. I've tried the absolute path to graffiti.dat, relative and url. I copied and pasted the whole script into textpad, and uploaded it as graffit.php4. It will not create the file graffiti.dat at all, anywhere. If I make the file myself, it will read it but not write to it, despite the fact the script sets it as a+. I also get errors saying fput() and fclose() are not permitted, basically the whole thing is knackered. If I'm doing something fundamentally wrong, I'll put my hands up, I just feel I've wasted a lot of my valuable time and learnt nothing. Other than that a great set of tuts. Sorry!
|

January 28th, 2002, 06:35 AM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|

May 24th, 2002, 12:44 AM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
Amazeing...
This is an amazing tutorial. I've learnt a heep and now all my questions have been answered.. wow.. cool... thanks.
|

August 7th, 2002, 11:28 AM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
All in one line???? CONT'D
Hi,
Newbie here. Great tutorial. I'm tryign to get php to process a simple form, and dump the contents into a .txt file. I can create the form, get the code to open the .txt file, write the data to it, and then close it. I can't seem to get the code to enter a line break in the .txt file, so all my data is placed onto one gianganticly long line. I tried your advice, and set a variable as a line break after the fopne command. The code looked like this;
$fp = fopen ($file,"a,b");
$break ="<br>"
fputs($fp,$info,$break);
didn't work. It just stops writing to the .txt file altogether. I tried placing the <br> variable in different places throughout the code too (such as trying to include it with the $info variable). Nothing worked.
I looked at your suggestion from the 1st "all inone line??? post, and all that code really did was open the file, and enter a line break (it didn't seem to write anything)
Help!!!!!
http://teachers.altschools.org/jgiambalvo/phptest/t2/hello.php
Thanks,
John G.
|

August 7th, 2002, 11:30 AM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
All in one line???? CONT'D
Hi,
Newbie here. Great tutorial. I'm tryign to get php to process a simple form, and dump the contents into a .txt file. I can create the form, get the code to open the .txt file, write the data to it, and then close it. I can't seem to get the code to enter a line break in the .txt file, so all my data is placed onto one gianganticly long line. I tried your advice, and set a variable as a line break after the fopne command. The code looked like this;
$fp = fopen ($file,"a,b");
$break ="<br>"
fputs($fp,$info,$break);
didn't work. It just stops writing to the .txt file altogether. I tried placing the <br> variable in different places throughout the code too (such as trying to include it with the $info variable). Nothing worked.
I looked at your suggestion from the 1st "all inone line??? post, and all that code really did was open the file, and enter a line break (it didn't seem to write anything)
Help!!!!!
http://teachers.altschools.org/jgiambalvo/phptest/t2/hello.php
Thanks,
John G.
|
Developer Shed Advertisers and Affiliates
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|