php-general Digest 11 Jul 2003 11:04:55 - Issue 2169
Topics (messages 154802 through 154853):
Using DOMXML with homogenous elements
154802 by: Matt Grimm
154807 by: Matt Grimm
nlist
154803 by: Johnny Martinez
154804 by: Robert C.
154805 by: David Nich
>?> just not even be bothered with Google
I did but didnt find any
Thanks ;-)
pete
Brian McGarvie wrote:
Anyone know of a class or function that converts numbers to readable text
Oh how old... coud you just not even be bothered with Google or any other
search engine?
To save you the trouble:
> Anyone know of a class or function that converts numbers to readable text
Oh how old... coud you just not even be bothered with Google or any other
search engine?
To save you the trouble:
http://www.phpclasses.org/browse.html/package/754.html
--
PHP General Mailing List (http://www.php.net/
Same error.
Warning: fopen("ftp://[EMAIL PROTECTED]/misc/webpage/cms/test.txt","w") -
Inappropriate ioctl for device in
/home/stephenj/public_html/misc/webpage/cms/generator.php on line 51
Think this is going to get too complicated for a user interface as well
so I might have to abandon this idea.
Write the file with ftp right away:
// Define the filename to write to.
$filename = 'ftp://username:[EMAIL PROTECTED]/your_webdir/test.txt';
// Open the file for overwriting.
$fp = fopen($filename, "w");
// Write the string to the file
$write = fputs($fp, $string);
// Close the file
fclose($fp);
Anyone know of a class or function that converts numbers to readable text
eg inputing the number would output text as in
120 = one hundred and twenty
3600 = three thousand six hundred
tia
pete
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> "The script started from the URL '/myscript/index.php' with parameters ''
> has not responded within the configured timeout period. The HTTP server is
> terminating the script."
maybe the problem is not with the sockets but you have an endless loop bug?
do you have an up-to-date version of php?
Hi Guys,
I wonder if any of you can help with this
I'm using sockets in php to connect my script to an outside system. More
often than not this works fine, but every so often, say twice a day, it
brings down my whole web server.
When this has happened all the sites im serving can take up to
Interesting.
Do I need to open an FTP connection do you think or use wrappers?
I tried this:
// Define the filename to write to.
$filename = 'test.txt';
// Open the file for overwriting.
$fp = fopen($filename, "w");
// Write the string to the file
$write = fputs($fp, $string);
// Close the file
> -Original Message-
> From: Fejes Jozsef [mailto:[EMAIL PROTECTED]
> Sent: 10 July 2003 12:33
>
> My method is:
> 1. check if id starts with /
> if(ereg("^\/", $id))
> goaway;
That's a rather expensive (and slightly obscure) way of performing that check. Try:
if ($id{0}=='/')
go
> -Original Message-
> From: Kevin Stone [mailto:[EMAIL PROTECTED]
> Sent: 09 July 2003 20:30
>
> - Original Message -
> From: "ulf sundin" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, July 09, 2003 1:00 PM
> Subject: Re: [PHP] session data missing
>
>
> > ok,
is escaping a solution?
addslashes() for your insert-query
stripslashes() for your select-query
"Aaron Axelsen" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> I have a php script set up for a user to upload a word document,
Joe,
JH> Okay Ladies and gents... I am sure I am not the only one who doesn't
JH> take advantage of arrays like they should be... would some be so kind as
JH> to explain them...
You won't get much joy from this list with this kind of question - it
is simply too general for anyone to answer. You h
> -Original Message-
> From: Phil Powell [mailto:[EMAIL PROTECTED]
> Sent: 11 July 2003 05:54
>
> foreach ($profileArray[$i][attributes] as $key => $val) {
> $singleProfileHTML .= $key . "=\"" . str_replace("'",
> ''', str_replace('"', '"', $val)) . "\"\n";
> }
>
> The parsing e
On Friday 11 July 2003 15:20, Steve Jackson wrote:
> > Writing and moving require the same permissions. Also, there is a big
> > difference between root and webroot. Which one are you talking about?
>
> Web root.
> Sorry not the root directory of the server but the webroot. 1 directory
> back in fa
hmm...
and... what would you do with a clear screen function on a web page with php
?
I can't see how it could work.. :)
PHP is server side, so you can't clear the user screen like with C or other
language ...
Regards,
P.E. Baroiller
"Artoo" <[EMAIL PROTECTED]> a écrit dans le message de
news:
Okay Ladies and gents... I am sure I am not the only one who doesn't
take advantage of arrays like they should be... would some be so kind as
to explain them... you kow I can read the manual and all... but to tell
you the truth.. it's a little confusing... maybe some of you have some
good ways to e
>
> Writing and moving require the same permissions. Also, there is a big
> difference between root and webroot. Which one are you talking about?
Web root.
Sorry not the root directory of the server but the webroot. 1 directory
back in fact is all I need so the structure would be:
Web> Cms> gene
101 - 118 of 118 matches
Mail list logo