Hi,
I would like to retrieve some Winamp information from the server running my
PHP site. The objective is to show what song Winamp is currently playing
(title only) if Winamp is in use. I've tried using WinampCOM but the
problem is that even if Winamp is not active, when I load the PHP page,
Hi,
Read up on the image manipulation functions of PHP at
http://www.php.net/manual/en/ref.image.php
You will need to install the GD library if it's not already installed and
once you do you will have access to all the functions described, including
the ImageCopyResized function. To read the
If you still have a problem, try downloading PHP from:
http://snaps.php.net/win32/php4-win32-latest.zip
I checked the link just before sending this mail and it was still working.
Using the php4apache4.dll from this package solved my problem and allowed
me to use PHP as an ISAPI module with Apac
Hiya,
Just wondering if anyone else is having this problem. I am trying to
control Winamp through HTTP using the WinampCOM plugin. It works fine when
I call the script from the command line but not at all when the exact same
script runs through HTTP (using Apache). Here is a bit of the code I
has regular expressions and they work quite well.
>
> > PHP can send email without any additional downloads and cost
>ASP can too (Server.CreateObject("CDONTS.NewMail")). I'm not sure why
>companies sell products for this.
>
>
>
>--
>PHP Windows Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
Olivier Hubert
Chef d'équipe informatique/IT Team leader
Groupe Constructo
(514) 856-6646
[EMAIL PROTECTED]
<http://www.constructo.ca/>www.constructo.ca
Do you have any kind of warning or error message when executing the update
query?
Use mysql_error() to get an error message, if there is one. This will help
in pinpointing the exact source of the problem.
Olivier
At 17:35 2002-05-10 +0100, James Mansfield wrote:
>Beginner question this one (m
I think this is normal PHP behavior. The $result variable is considered an
"array" by the MySQL functions, so every time you call mysql_fetch_, you
remove an element from the "array" (I don't think it's really an array but
it's the best comparison I could find).
My solution would be to create
helps,
Olivier Hubert
At 20:29 2002-05-09 +0100, Mr. Adam ALLEN. wrote:
>Wasn't sure on what the best way of describing it in a few words..
>
>I have a few php scripts which outputs a good page worth of html,
>then there is a long delay while something useful is done by the script.
&
llow:
- Apache 1.3.22
- PHP 4.1.1
- MySQL 3.23 something
Again, my goal is to be able to tell when a given user has finished a
download so I can give him permission to start another one. This could be
done in anything, PHP, javascript, Java, I don't really care.
Any help appreciated.
Oliv
that for the second part, you might have to put \r and then \n (e.g.
"\r\n") or simply no char specified. By default PHP will strip all
whitespaces, tabs and end of line/NULL bytes when you use rtrim without a
second parameter. You might want to give it a try.
Hope this helps,
Ol
ode in a file called
LoadImage.php; when the user calls the script (through a form or link) the
file is sent automatically.
HTH
Olivier
At 18:12 2002-02-21 +, Sandeep Murphy wrote:
>please, wud be grateful..:)
>
>sands
>-Original Message-
>From: Olivier Hubert [mailt
Hi,
Do you know the mime type of the document? If so, you could simply
send the file through HTTP e.g. when the user presses the button, instead
of accessing a web he/she accesses a script that will send the information
contained in the database field. If you like I could send you sam
that
I can identify for sure when a user has finished a download or not.
Thanks for the help :-)
Olivier Hubert
At 11:25 2002-01-25 -0500, Nicole Amashta wrote:
>If they are registed, this means they must login, which you may then be
>using database for this. Add a new field, totaldow
gt;As I said, it's only the simplest system...
This is a good idea, but then again, how do I know for sure when a
user has finished his download and can download another file? With
something like this (which I could enable in a session variable), a user
can only download one file b
served, per IP address, but I do not have VC++ so I
cannot compile Apache with the module. Also, I would like the user to be
able to browse the files while downloading one, but giving two connections
allows for two simultaneous downloads.
Any ideas any one?
All help is welcome :-)
Olivier
Hi,
If you mysql connection is the only one you're trying to maintain,
I suggest you try
$result = @mysql_query($sql) or die ("Couldn't execute
query.");
e.g. without passing the $connection parameter. Also, try using mysql_error
to get the actual error message.
HTH!
Olivier
At 16
H, good article for someone working with a *NIX server, but how about
Windows?
Olivier Hubert
At 12:20 2001-10-04 -0700, Alain Samoun wrote:
>Does the title:
>The Soothingly Seamless Setup of Apache, SSL, MySQL, and PHP
>http://www.devshed.com/Server_Side/PHP/SoothinglySeamless/
Hi,
>if ($submit) {
> // here if no ID then adding else we're editing
> if ($id) {...
>
>where id is the first field of mydb. Using other pages I can see that the
>id is there in the mydb file. I also get the same error for "if ($submit..."
Ok, I may be wrong here as I'm no PHP expert
That's right, check if
register_global
is at 1 (something equivalent should work) in your php.ini.
Olivier
>I think u have to read thru ur PhP.ini file..
>
>There is a setting there about global vars.that should do it...
>
>Greetz
>
>M!ke
>"Monello" <[EMAIL PROTECTED]> schreef in beric
At 18:03 2001-04-11 +0200, Helmut Himmelstoss wrote:
>it did'nt works. I get no result. I work in CGI Mode under WinNT and IIS5
Did you check the permissions for ping.exe? Does the IUSR_[Machine name] or
whatever user executes PHP.exe have the rights to read/execute ping.exe?
Very often, anonymou
s a bit crappy.
>
>Thanks
>
>
>
>--
>PHP Windows 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]
Olivier Hubert
Technicien i
Hi,
You've probably already looked into this, but I just wanted to be sure:
have you checked the persmissions on "Application.exe" ? I believe PHP uses
IUSR_Computer (where Computer is your computer name) to exec() anything so
if IUSR_Computer doesn't have the rights to read+execute the p
What exactly is the error message? I know this sounds stupid, but are you
sure it isn't just a warning? By default, PHP will output all warnings and
errors to standard output (e.g. the browser).
Olivier
>Can PHP deal with variables that are not initialized? It is kicking out an
>error when it
e HTTP1.1 RFC:
http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17
Olivier Hubert
>Hi,
>
>I'm using following code to download a file. IE5 shows the Open/Save dialogue,
>if I select 'Save", it works. But if I select "Open", it again shows the same
>
24 matches
Mail list logo