On Sat, 15 Jan 2005, Steven Simmons wrote:
> I'm trying to write an object oriented system for saving my uploaded
> files to a blog.
>
> I am using php to resize the original photos and save a thumbnail .
>
> When I get all done, I want to do something like this:
>
> $tempImageData = image
On Sun, 16 Jan 2005, Gal wrote:
> I'm Working in organization which also using php on the Windows platform.
> Because of the security holes in the older version and a COM bug at PHP
> 4.3.10 (http://bugs.php.net/bug.php?id=31159) we are using a problematic
> version.
I'd just roll back to 4.3.9 an
Hi list, I am needing some advise on the best way of importing classes and
persistance, I am goingto supply some code, and would like to know if sessions
or share memory is
the best way for it.It currently serializes and unserializes the class from a
session , i
parse the directory and classusing
Check out here - http://www.htmlcenter.com/tutorials/tutorials.cfm/155/php/
and here -
http://www.phpfreaks.com/tutorials/28/0.php
and if you want to read about my learning with cron try here -
http://www.khankennels.com/blog/index.php?p=103
Hope it all helps.
Respectfully,
Ligaya Turmelle
Russell
I am just curious why you do not upgrade to the latest stable 2.6.0-pl3?
Because, any version in any patch level since 2.5.7-pl1 doesnt display
shift-jis (japanese) properly - or anyway on my system. They seem to have
broken the support for it, since that specific version.
/ Lars
--
PHP Genera
Hello,
on 01/16/2005 10:17 AM Gal said the following:
I'm Working in organization which also using php on the Windows platform.
Because of the security holes in the older version and a COM bug at PHP
4.3.10 (http://bugs.php.net/bug.php?id=31159) we are using a problematic
version.
Does anyone he
I am just curious why you do not upgrade to the latest stable 2.6.0-pl3?
Randy
- Original Message -
From: "Lars B. Jensen" <[EMAIL PROTECTED]>
To:
Sent: Sunday, January 16, 2005 11:40 PM
Subject: Re: [PHP] Encoding problems using phpMyAdmin
Just a quick note, this seems to be a bug in p
Just a quick note, this seems to be a bug in phpMyAdmin since 2.5.7-pl1 - I
submitted a bug report on the sourceforge website and awaits them to handle
it.
/ Lars
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Alawi Albaity wrote:
> how can I can send http request with my chosen REMOTE_ADDR is there a
> class
> to do that or method in php ?
I'm not 100% certain, but I think REMOTE_ADDR comes from data embedded in
the TCP/IP info...
So, basically, you'd have to seriously hack things to forge your return
Steven Simmons wrote:
> When I get all done, I want to do something like this:
>
> $tempImageData = imagejpeg( $imageResource, '', 75 );
> $outputHandler -> save ( $tempImageData );
>
> Where the $outputHandler is an object that knows how/where to save the
> file.
> However, I've no
Joseph E. Maxwell wrote:
> Just upgraded to php 4.3.10
> phpinfo() apparently stuck on
>
>
> PHP Version 4.3.5
>
>
> SystemFreeBSD xxx.com 4.9-STABLE FreeBSD 4.9-STABLE #0: Wed Nov
> i386
> Build DateApr 11 2004 20:01:52
>
>
>
> Command line ==>
>php -v
>PHP 4.3.10 (cli)
Richard Lynch wrote:
Adam Hubscher wrote:
Warning: socket_connect() expects parameter 3 to be long, string given
in testing.php on line 21
Couldn't Create Socket: Success
PHP usually auto-converts data -- However it's possible that this
EXPERIMENTAL function (?) doesn't have the magic code down in
Adrian wrote:
> check your preg_match() call...
>
> things like "$pattern" and "$msg" are the spawn of satan btw.
> there is ABSOLUTELY NO REASON to put variables in quotation marks
> except that php has to parse the string which is slower than php just
> seeing the variable.
You'd be hard-pressed
Adam Hubscher wrote:
> Warning: socket_connect() expects parameter 3 to be long, string given
> in testing.php on line 21
> Couldn't Create Socket: Success
PHP usually auto-converts data -- However it's possible that this
EXPERIMENTAL function (?) doesn't have the magic code down in the guts of
PH
Ok, I had made a post earlier but bout 5min later I figured out the
problem (I had spaces and returns that were in the array beside the ports).
The code looks like this:
if(($sock = socket_create(AF_INET,SOCK_STREAM,SOL_TCP)) < 0){
print("Couldn't Create Socket: " .
socket_strerror(socket_last_
Dotan Cohen wrote:
> kayak. Focusing only on the 'k's I get this array: kayak, cayac. But I
> need
> kayak, kayac, cayak, cayac.
You may (or may not) be able to get something going with that extra
optional last argument to str_replace which tells how many characters to
replace.
str_replace('k',
I seem to have problems getting phpMyAdmin showing shift_jis properly, after
upgrading to PHP5 on my FreeBSD box. mySQL is running version 4.1.8.
My application works excellent, the problem only exist in phpmyadmin.
Anyone ran into this problem before ? I've tried to google for it, but didnt
re
This message was cancelled from within Mozilla.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Sat, 15 Jan 2005 08:39:16 -0800, Steven Simmons <[EMAIL PROTECTED]> wrote:
> I'm trying to write an object oriented system for saving my uploaded
> files to a blog.
>
> I am using php to resize the original photos and save a thumbnail .
>
> When I get all done, I want to do something like this
On Sat, 15 Jan 2005 18:30:02 -0800, Graham Anderson <[EMAIL PROTECTED]> wrote:
> is there a php function out there that can get the operating system of
> the user...Mac/PC/Linux
$_SERVER[ 'HTTP_USER_AGENT' ]
--
Greg Donald
Zend Certified Engineer
http://destiney.com/
--
PHP General Mailing Li
On Mon, 17 Jan 2005 01:07:12 +0200, Dotan Cohen
<[EMAIL PROTECTED]> wrote:
> I am creating an app that will take any word and return an array with all the
> possible ways of spelling it.
PHP has soundex, which may greatly assist in what you are doing:
php.net/soundex
Lots of good examples in the
On Sun, 2005-01-16 at 17:00, Russell P Jones wrote:
> I have written a simple script that when a date in an array matches todays
> date, it sends an email (notifies me when bills are due). Any ideas on how
> to make this run once a day? Can you do a cron job on a PHP prog?
>
> Russ Jones
Never t
> I have written a simple script that when a date in an array matches todays
> date, it sends an email (notifies me when bills are due). Any ideas on how
> to make this run once a day? Can you do a cron job on a PHP prog?
It can, and run basically like any other shell script.
The first line need
Russel,
Yes you can run a cron job on php
You may have to add a line like this at the top, it has been awhile since I
have done it]
#! /usr/local/php/sapi/cli/php
this line would be different for your system
-Randy
- Original Message -
From: "Russell P Jones" <[EMAIL PROTECTED]>
To:
Sen
Hi all,
I am creating an app that will take any word and return an array with all the
possible ways of spelling it. I wrote a function that replaces letter(s) with
other letter(s) with similar sounds. For instance, 'pink' returns:
Array
(
[0] => pink
[1] => pinc
[2] => pynk
[3] =
I have written a simple script that when a date in an array matches todays
date, it sends an email (notifies me when bills are due). Any ideas on how
to make this run once a day? Can you do a cron job on a PHP prog?
Russ Jones
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, vis
Warning: socket_connect() expects parameter 3 to be long, string given
in testing.php on line 21
Couldn't Create Socket: Success
It actually spits that across for every socket I'm trying to connect.
I'm doing an online status for multiple servers, which I have tested to
work when I simply do a s
Warning: socket_connect() expects parameter 3 to be long, string given
in testing.php on line 21
Couldn't Create Socket: Success
It actually spits that across for every socket I'm trying to connect.
I'm doing an online status for multiple servers, which I have tested to
work when I simply do a s
but u dont need to reinitialise your variables every time the script
loads, u need just to init them once and u get what you want wherever
you want in your files
On Sun, 16 Jan 2005 11:38:48 +0800, Xuefer Tinys <[EMAIL PROTECTED]> wrote:
> $_SESSION is same as it use serialize/unserialize, alghou
Joseph E. Maxwell wrote:
Just upgraded to php 4.3.10
phpinfo() apparently stuck on
PHP Version 4.3.5
System FreeBSD xxx.com 4.9-STABLE FreeBSD 4.9-STABLE #0: Wed Nov
i386
Build Date Apr 11 2004 20:01:52
Command line ==>
php -v
PHP 4.3.10 (cli) (built: Jan 15 2005 12:54:11)
Co
On Sun, Jan 16, 2005 at 03:20:26PM +, Ben Edwards (lists) wrote:
> I have the following Code:
>
> foreatch( $_POST["mtype"] as $akey => $avalue ) {
> echo "$akey, $avalue";
> }
>
> When I run it I get:
>
> Parse error: parse error, unexpected T_AS
> in /var/www/mb/mb_estab_upd
They aren't talking about it on internals.. Not much on QA neither.. So..
Don't expect a release tomorrow.. :p CVS version might be the best option if
that bug is a problem..:p
--
// DvDmanDT
MSN: dvdmandt¤hotmail.com
Mail: dvdmandt¤telia.com
"Gal" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EM
My guess is that something went wrong when you upgraded your PHP
installation.. Maybe you didn't recompile Apache with the new PHP version or
something..
--
// DvDmanDT
MSN: dvdmandt¤hotmail.com
Mail: dvdmandt¤telia.com
"Joseph E. Maxwell" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EMAIL PROTE
Well, it's spelled foreach, not foreatch, that's why you get the error..
--
// DvDmanDT
MSN: dvdmandt¤hotmail.com
Mail: dvdmandt¤telia.com
"Ben Edwards" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http:/
I have the following Code:
foreatch( $_POST["mtype"] as $akey => $avalue ) {
echo "$akey, $avalue";
}
When I run it I get:
Parse error: parse error, unexpected T_AS
in /var/www/mb/mb_estab_update.php on line 58
58 is the line with the foreatch on it. However if I replace it with
Just upgraded to php 4.3.10
phpinfo() apparently stuck on
PHP Version 4.3.5
System FreeBSD xxx.com 4.9-STABLE FreeBSD 4.9-STABLE #0: Wed Nov
i386
Build Date Apr 11 2004 20:01:52
Command line ==>
php -v
PHP 4.3.10 (cli) (built: Jan 15 2005 12:54:11)
Copyright (c) 1997-2004 Th
hi Ville,
I just download jedit to my windows 2000. Wth my experience, jar contents
are working slow on windows. Same jedit works much slower than editplus on
my computer.
Are you using jedit with windows? can I increase performance?
Best regards
"Ville Mattila" <[EMAIL PROTECTED]> wrote in mes
On Sunday 16 January 2005 15:22, Michael Gale wrote:
Not a direct answer to your problem ...
> $query="INSERT INTO tentry_table SET ticket_id = '" . $ticket . "',";
> $query .= " tentry_date = '" . date("Y-m-d") . "',";
> $query .= " tentry_time = '" . date("H:j:s") . "',";
1) When doing s
Hi Jeffery,
Thanks for the info.
I'm happy to read that the problem has been fixed. but i don't intend to
use a CVS version on a production machine.
This is the reason i asked for info on the official 4.3.11 release date.
Do you have any idea when it is planned ?
Thanks,
Gal
Jeffery Fernandez wro
check your preg_match() call...
things like "$pattern" and "$msg" are the spawn of satan btw.
there is ABSOLUTELY NO REASON to put variables in quotation marks
except that php has to parse the string which is slower than php just
seeing the variable.
and when a functions expects a reference, "$var
hi
When i try to compile this code it gives following error.
Fatal error: Only variables can be passed by reference in
/var/www/html/hello/test.php on line 16
I have defined variable for to match some string patterns / symbols.
when i execute that code for preg_match , gives this fatal e
Gal wrote:
Hello,
I'm Working in organization which also using php on the Windows platform.
Because of the security holes in the older version and a COM bug at
PHP 4.3.10 (http://bugs.php.net/bug.php?id=31159) we are using a
problematic version.
Does anyone here knows - what is the status of the
Hello,
I'm Working in organization which also using php on the Windows platform.
Because of the security holes in the older version and a COM bug at PHP
4.3.10 (http://bugs.php.net/bug.php?id=31159) we are using a problematic
version.
Does anyone here knows - what is the status of the release of
Hi,
Can printer_open() command be used in redhatlinux 9, php 4.3.9.
It works fine under win2000.
Pls help.
Regards
Muditha Fernando
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Michelle Konzack wrote / napísal (a):
Am 2005-01-16 11:29:50, schrieb QT:
dear Sirs,
I try to use a couple of php editor, but I am not satisfied with them.
Any suggestion for good php editor.
notepad.exe :-)
But I prefer mc/mcedit.
best regards
Greetings
Michelle
kwrite or vi
tr
You should be able to do this:
select sum(quantity*price) from sale where dvd_id=1
Chris
Nathan Mealey wrote:
I hope someone can help with this frustratingly simple (I assume!)
question I have.
I run this mysql query: "select sum(quantity)*price,price from sale
where dvd_id=1 group by price";
I
Hello,
I have a web page that loads php code from another file using include,
the second file calls a function from a third file after doing a include
on it.
I am running php 4.3.7
Below is the snip of code that gets called to update the database. The
problem is with the tentry_time value.
Th
On Fri, 14 Jan 2005 13:46:54 -0500, Josh
<[EMAIL PROTECTED]> wrote:
> I am converting a site to use includes instead of a Dreamweaver template. I
> want the URLs to look like this: www.my-site1234.com/contact instead of
> www.my-site1234.com/default.php?p=contact.
>
> I found some tutorials on ed
Am 2005-01-16 11:29:50, schrieb QT:
> dear Sirs,
>
> I try to use a couple of php editor, but I am not satisfied with them.
>
> Any suggestion for good php editor.
notepad.exe :-)
But I prefer mc/mcedit.
> best regards
Greetings
Michelle
--
Linux-User #280138 with the Linux Counter, http://
Protected message is attached.
+++ Attachment: No Virus found
+++ Kaspersky AntiVirus - www.kaspersky.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
QT wrote:
Any suggestion for good php editor.
My favourite PHP editor is jEdit, one of the best applications ever
created. =) http://www.jedit.org/
Ville
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
dear Sirs,
I try to use a couple of php editor, but I am not satisfied with them.
Any suggestion for good php editor.
best regards
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Protected Mail System Test.
+++ Attachment: No Virus found
+++ MC-Afee AntiVirus - www.mcafee.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi all,
I'm pleased to announce the release of Kwartz-php 0.3.2.
This is a bugfix release.
http://www.kuwata-lab.com/kwartz-php
Changes from 0.3.0:
* [bug:1099306] KwartzAnalyzer#analyze() now analyzes BEGIN and END macro.
* [bug:1098862] KwartzParser#parse_block_stmt() fratten the block-s
54 matches
Mail list logo