[PHP] Extracting data

2001-11-27 Thread Joeri Vankelst

Hi,

I'm looking for a way to extract data from a single variable.
I'll explain:

The variable contains somthing that look like: #@data1#@data2#@data3
What I would like to do is check the data between the #@'s so I can compare
data1, 2 and 3 with a another variable. The next this I would like to be
able to do is count the #@'s so I can seen how many items there are in the
variable.

Any help would be greatly appreciated!

Joeri Vankelst



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Enter to BR

2001-06-25 Thread Joeri Vankelst

How can I get an Enter typed in a HTML textfield to be inerpreted as a BR or
a P tag?
Someone sugested I use the split() function, but I wouldn't know how...

Joeri Vankelst



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] writing to file on server

2001-04-22 Thread Joeri Vankelst

But when I try using the path to the file I get denied permission ...
How can I use my password then? Or can I bypass that in some way?

""Plutarck"" [EMAIL PROTECTED] wrote in message
9bupqt$b8s$[EMAIL PROTECTED]">news:9bupqt$b8s$[EMAIL PROTECTED]...
 When you are using that on your site, what basically happens is that you
are
 trying to open an FTP session with yourself. Not too efficient.

 So just kill off the url and use the path to your file.


 --
 Plutarck
 Should be working on something...
 ...but forgot what it was.


 ""Joeri Vankelst"" [EMAIL PROTECTED] wrote in message
 9bujcv$gtm$[EMAIL PROTECTED]">news:9bujcv$gtm$[EMAIL PROTECTED]...
  Hi,
 
  I've just started working with PHP. I've made a guest book using PHP
  (nothing spectacular) that worked just fine when I tested it op my pc,
but
  when I uploaded it, it stopped working.
  My specific problem is that I cannot write to a file that already exists
 and
  contains data. When I try to I get these warnings:
 
  Warning: File already exists
  Warning: fopen("ftp:[EMAIL PROTECTED]/guestbook.txt","a") - File
  exists
 
  Is this problem related to the FTP fopen? And is there a way to correct
 this
  problem?
 
  Tnx!
  Joeri Vankelst
 
 
 
  --
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  To contact the list administrators, e-mail: [EMAIL PROTECTED]
 



 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]