[PHP] mcrypt 2.4.x - trouble with small data fields?

2002-11-27 Thread Steve Yates
On my current project I am saving personal info into a MySQL database for later retrieval. I have discovered that I have trouble with a few specific data entries, though the other ~20 work fine. The two I have trouble with are a char(2) and a varchar(4) field, the smallest ones in the table,

[PHP] how to use openssl_x509_read.

2002-11-27 Thread Richard Rojas
Hi, Does anybody know how to use this function? openssl_x509_read(mixed x509certdata) Is x509certdata the certificate submitted by the browser to the server? Richard -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] getaddrinfo failed: No address associated with hostname

2002-11-27 Thread Godzilla
I have a php script setup which downloads a file from a remote server via FTP. It worked fine for a couple months until I went to use it one day and it returned the error below. I hadn't made any changes to the script in that time. It was no big deal so I wrote it off as it wasn't really an importa

[PHP] Re: sendmail problem!

2002-11-27 Thread Manuel Lemos
Hello, On 11/27/2002 09:01 PM, Siamak wrote: I use PEAR to send mails to my users through "sendmail", my mails sometimes are delivered immediately, sometimes after some minutes and sometimes after some hours and sometimes never! I tried to identify the cause but I wasn't successful, is there some

Re: [PHP] Error in retrieving a BLOB from DB.

2002-11-27 Thread Faisal Abdullah
I've never used load() before, but I can't find it in the function list in php.net On Thu, 2002-11-28 at 11:05, Naif Al-Otaibi wrote: > Hi all, > > I use the following: > 1) Win XP. > 2) Oracle personal eddition 8.1.6.0.0. > 3) IIS. > 4) php-4.2.3-Win32 runs in cgi mode. > > When I retrieve a b

[PHP] Error in retrieving a BLOB from DB.

2002-11-27 Thread Naif Al-Otaibi
Hi all, I use the following: 1) Win XP. 2) Oracle personal eddition 8.1.6.0.0. 3) IIS. 4) php-4.2.3-Win32 runs in cgi mode. When I retrieve a blob from my DB, I got the following error: Fatal error: Call to undefined function: load() in c:\inetpub\wwwroot\php1\ora52.php on line 6 -

RE: [PHP] Show only user that variable "music"contain "pop"

2002-11-27 Thread John W. Holmes
> $req = MYSQL_QUERY("SELECT id FROM $TBL_NEWS ORDER BY nom LIMIT 0, > $limit_news"); > $res = MYSQL_NUM_ROWS($req); > > This is my lines... It's not working... :-( Use mysql_error() to find out why. Odds are one of your variables aren't set when you think they are. $req = mysql_query(" ... ") o

RE: [PHP] ignoring client supplied session data

2002-11-27 Thread John W. Holmes
> What I do on my pages is perhaps a convoluted way of doing it but it > works. I set a username and password session variables. Every time the > page loads the script verifies the username and password are correct. If > not, they don't get to see the rest. This, in my mind, pervents someone > fr

RE: [PHP] ignoring client supplied session data

2002-11-27 Thread John W. Holmes
> I'm not worried about them using the query string for malicious purposes- > I > have register_globals off... I'm worried about someone messing with their > cookie and sedding authorized to true- that _will_ change my $_SESSION > variable, unless I can find some way to ignore cookies, which brings

Re: [PHP] Streaming audio

2002-11-27 Thread olinux
Not PHP, but here's a solution I use for streaming WMA files on apache server. You'll need 3 files audiofile.htm audiofile.wax audiofile.wma [audiofile.htm] Audio Player