messy
I want to be able to get the BINARY data from mySQL and send it via cURL
directly.
TIA
- Original Message -
From: "John W. Holmes" <[EMAIL PROTECTED]>
To: "John Ryan" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent:
How are files encoded when theyre sent in mulitpart forms??? Is it the same
as blob fields in mySQL databased when you use the LOAD_FILE() command??
If not, is it easy to convert from one to the other?? At the moment, Im
taking the blob from mySQL and writing it to a file and then uploading that
f
I assume sites like Amazon and Ebay does not use PHP to generate its pages.
Does it use CGI and C++?? If so, does that mean a C++ program is run each
time I request a page.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I've done that, but how do I generate a number out of that that's in a
certain range?
"Thomas Seifert" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Sat, 1 Nov 2003 00:37:32 - [EMAIL PROTECTED] (John Ryan) wrote:
>
> > I've a bit o
I've a bit of a problem, I want a random keyword pulled from my database.
But I dont want it random all the time. I just want it random to each page.
So I have the filename variable of the page. How do I somehow generate a
'constant' random number from this string that is constant to each file???
;[EMAIL PROTECTED]> wrote in message
> > news:[EMAIL PROTECTED]
> >
> > > Well there's a stand alone program called ImageMagick
> > >
> > > Michael Still wrote an article on it which may be useful. There should
> >
> > still
> >
> > &
ld
still
> be a link for it on the main page @ stillhq.com
>
>
>
> On Saturday 11 October 2003 01:50 pm, John Ryan wrote:
> > How do I do this?? I have the latest version of GD with PNG, but no GIF.
> > But I *have to* be able to convert images to gif. Is there any
standalon
seful. There should
still
> be a link for it on the main page @ stillhq.com
>
>
>
> On Saturday 11 October 2003 01:50 pm, John Ryan wrote:
> > How do I do this?? I have the latest version of GD with PNG, but no GIF.
> > But I *have to* be able to convert images to gif. I
How do I do this?? I have the latest version of GD with PNG, but no GIF. But
I *have to* be able to convert images to gif. Is there any standalone php
script that'll do it, or a cgi???
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
gt; >
> >http://phpfreaks.com
> >
> >
> >
> >"Robert Cummings" <[EMAIL PROTECTED]> wrote in message
> >news:[EMAIL PROTECTED]
> >
> >
> >
> >>You sure you don't have a cron that run every night and rotates the log
for some reason, my apache log files reset every night at 12, whihc i dont
want. how do i change this in the apache httpd.conf file?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
When I use for loops, at the start of each iteration, the variables hold the
values from the last loop.
First, is there an elegant way of clearing variables at the start of each
loop rather than using unset???! It just seems wrong.
Also, all my problems would be solved if variables in a for loop
Is it possible with an Apache confiugartion file to redirect users, if their
browser sends a certain accept/type header, and somewhere else if not??
I dont want to do it with PHP
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
sent to the site,
i saw my problem straight away, and modified the PHP script.
"Chris Shiflett" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> --- John Ryan <[EMAIL PROTECTED]> wrote:
> > is there any way of seeing exactly what headers cURL sent in a
>
i found out myself if anyone wants to know...
"John Ryan" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> is there any way of seeing exactly what headers cURL sent in a transfer,
> with PHP?
--
PHP General Mailing List (http://www.php.net/)
To un
is there any way of seeing exactly what headers cURL sent in a transfer,
with PHP?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hi,
i wanna upgrade php, but i dont have, and can never have root access on my
server, plus no gcc or anything, so is there any site with binaries of php
for linux-x86, with pretty much, all extras and modules!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.p
ive spent the last 2 hours looking for a solution. i was going to recompile
php with zip support for one file. THANK YOU!
"John Herren" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> John Ryan wrote:
> > This is kinda off topic, well.. depending on the answe
This is kinda off topic, well.. depending on the answer.
I downloaded a ZIP file to my server, and want to open it. My version of PHP
wasnt compiled with the Zip uncompressing functions, otherwise Id do it with
php, so I was wondering if there was a linux-x86 binary that just opens zip
files!
it definately always only contains one file
"Curt Zirzow" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> * Thus wrote John Ryan ([EMAIL PROTECTED]):
> > is it possible with PHP to download and open a remote tar.gz file?? I
read
> > in the manual th
is it possible with PHP to download and open a remote tar.gz file?? I read
in the manual that it is, but it never seems to work for me.
I tried opening the file with fopen
fopen("zlib://http://www.site.com/update.tar.gz";, "r");
but it didnt work
Then I tried using the zlib functions but they jus
just split up your total number of results ($num_rows) by the results per
page (10, i think) and create a for loop to loop from page1 to pagex,
creating a link with offset for each one.
simple.
"Ted Conn" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi I am new to this newsgroup a
:[EMAIL PROTECTED]
> hello,
> you can use the split() method to break this up into pieces. Unless you
> are doing a large number of inserts on tables with several keys mysql
> will not be troubled too much by the number of queries you run.
>
>
> John Ryan wrote:
>
> >I&
I've a string with a huge mySQL query, seperated by a semi-colon and then
line-break. You can't run this query staright to mySQL (and i dont want to
try), so Im trying to split up the query into, say, 100 mysql commands at a
time.
Is it possible to split up a string every 100 semi-colons it finds?
p://www.php.net/manual/en/function.curl-setopt.php
>
>
> On Tue, 5 Aug 2003 01:04:42 +0100, John Ryan <[EMAIL PROTECTED]> wrote:
>
> > theres this site i want to use to execute a command by visting a url.
> > like
> > http://www.site.com/stuff.php?id=1234&messag
theres this site i want to use to execute a command by visting a url. like
http://www.site.com/stuff.php?id=1234&message=hello_world
when i visit this in the browser when im logged into www.site.com, it works
as im logged in with cookies or sessions or whatever. but obviosuly i cant
be loged in fr
yeah, thats the code i wrote myself (nearly). it gets the job done.
thanks
"Curt Zirzow" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> * Thus wrote John Ryan ([EMAIL PROTECTED]):
> > Hi,
> >
> hello ryan,
>
> > In mySQL, I store dates as
> if($current_MM < $MM) {
> $age = $calculatedage - 1;
> }
>
> you'll also need to do something like this with the day of the month if
the
> user's bday is in the current month.
> at least... i think that works out :$
> Craig Roberts
>
>
> "John R
Hi,
In mySQL, I store dates as -MM-DD, a standard DATE type. It stores users
date of births. I need to calculate in a PHP script, the users age from this
DOB. I get a PHP date in the same format as the mySQL and subtract, which
returns the year rounded off. ie, it doesnt matter if your birthda
x27;
/usr/local/lib/libc-client4.so: undefined reference to `mm_dlog'
*** Error code 1
Stop in /usr/local/src/apache_1.3.14/src/helpers.
Error Output for sanity check
= End of Error Report =
Your help will be appreciated
John Ryan
Systems Manager
King
30 matches
Mail list logo