Development Articles
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsOtherDevelopment Articles

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #61  
Old January 17th, 2001, 01:21 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
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>

Reply With Quote
  #62  
Old February 17th, 2001, 10:30 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
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?

Reply With Quote
  #63  
Old March 24th, 2001, 05:02 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
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.

Reply With Quote
  #64  
Old April 15th, 2001, 01:00 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
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!!!

Reply With Quote
  #65  
Old April 23rd, 2001, 09:41 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Re: PHP 101 is right

right

Reply With Quote
  #66  
Old June 2nd, 2001, 07:58 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
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?

Reply With Quote
  #67  
Old June 9th, 2001, 04:26 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Re: Apostrophes

Use the str_replace function.

Reply With Quote
  #68  
Old June 13th, 2001, 10:30 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
usernames

Is there any way to get PHP to grab a linux/unix username?

Reply With Quote
  #69  
Old July 6th, 2001, 02:55 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Re: Apostrophes

thankyou

Reply With Quote
  #70  
Old August 1st, 2001, 09:11 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
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!

Reply With Quote
  #71  
Old September 16th, 2001, 10:03 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
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!

Reply With Quote
  #72  
Old January 28th, 2002, 06:35 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:

Reply With Quote
  #73  
Old May 24th, 2002, 12:44 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
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.

Reply With Quote
  #74  
Old August 7th, 2002, 11:28 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
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.


Reply With Quote
  #75  
Old August 7th, 2002, 11:30 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
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.


Reply With Quote
Reply

Viewing: Dev Shed ForumsOtherDevelopment Articles > PHP 101 (part 5) - The Wonderland Factor

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap