Topic awaiting preservation: Acssessing data in a file (Page 1 of 1) |
|
---|---|
Paranoid (IV) Inmate From: |
posted 04-05-2004 18:12
Hey Im makeing a script that uses data already established via another script thats coded in perl/cgi, Im prgoramming my script in PHP
quote:
|
Paranoid (IV) Inmate From: France |
posted 04-05-2004 18:23 |
Paranoid (IV) Inmate From: |
posted 04-05-2004 18:34
That Dosent work because it's not setup like a typical ini file, |
Paranoid (IV) Mad Scientist with Finglongers From: Germany |
posted 04-05-2004 18:35
actually, since them are url encoded, parse_str might be a better option. After replacing \n with & at least. |
Paranoid (IV) Inmate From: |
posted 04-05-2004 18:37
TP thanks for your help but you've lost me, |
Paranoid (IV) Mad Scientist with Finglongers From: Germany |
posted 04-05-2004 18:58
well, if you do file($strFilename), code: if ($fh = fopen($strFilename))
|
Paranoid (IV) Inmate From: |
posted 04-05-2004 19:05
Thanks for that TP, I'll give it a go and have a play around |