[PHP] Re: Error Display

2006-12-14 Thread Nisse Engström
On Sat, 9 Dec 2006 21:07:26 -0500, "Craige Leeder" wrote: > I have been working with PHP5 since it's release, and until a few > months ago, have never experienced the problem I am about to describe > to you. I am not sure weather it has been discovered previously or > not, nor do I know exactly ho

[PHP] learning classes not sure how to do this correctly

2006-12-14 Thread macha
just starting to get used to classes, trying to figure out what i am doing wrong, i know its going to be something stupid on my part, probably really shouldn't be using a if statement or something heh just doing a basic email verification to make sure its looks like email addy so i take the post

RE: [PHP] php redirection..

2006-12-14 Thread bruce
bud... if you try to use the 'sleep' function, you'll discover it doesn't effectively wait... ie, it's not waiting a specified period of time, prior to invoking the jscript location.href. remember, sleep is server side, jscript is client side. i haven't thoroughly tested this, but i imagine that

Re: [PHP] php redirection..

2006-12-14 Thread Youri LACAN-BARTLEY
Budi Setiawan wrote: >> basically: >> >> cat.php >> -echo " test content" >> -echo " more test content" >> >> //redirect user >> echo" >> >> location.href='foo.php'; >> >> "; >> > > > Hi , im a new too.. > > but you can try with this to delay your script running for some seconds :

Re: [PHP] problem with ob_start() and header() in osCommerce cart

2006-12-14 Thread afan
> > > [EMAIL PROTECTED] wrote: >>> [EMAIL PROTECTED] wrote: Hi, even it's problem with osCommerce cart I think it's still php question: there is a code in application_top.php file (this file is includeed in login.php page, all the way on the top of the login.php file w

RE: [PHP] php redirection..

2006-12-14 Thread Brad Fuller
Better to do this on the client side with JS Redirect Test function redirect() { location.href='http://www.google.com/'; } You will be redirected in 3 seconds... > -Original Message- > From: Youri LACAN-BARTLEY [mailto

Re: [PHP] learning classes not sure how to do this correctly

2006-12-14 Thread Jochem Maas
[EMAIL PROTECTED] wrote: > just starting to get used to classes, trying to figure out what i am > doing wrong, i know its going to be something stupid on my part, > probably really shouldn't be using a if statement or something heh > > just doing a basic email verification to make sure its looks l

RE: [PHP] php redirection..

2006-12-14 Thread bruce
all these are solid posts... however, the original posting, was not to do a redirect on the page being presented. the original post, was to display some content rolling down the page, wait some time, and 'then' redirect the user to another page. i wanted to be able to accomplish this without havi

Re: [PHP] Re: Havn't been on the list in a while

2006-12-14 Thread Jim Lucas
Chuck Anderson wrote: Jim Lucas wrote: Seems like this list has slowed down alot. Anybody else notice this, or am I just missing something? jl If you're referring to what I think you are yes . I get almost nothing but timeouts when trying to do anything in this newsgroup. nope

RE: [PHP] php redirection..

2006-12-14 Thread Brad Fuller
> -Original Message- > From: bruce [mailto:[EMAIL PROTECTED] > Sent: Thursday, December 14, 2006 12:08 PM > To: 'Brad Fuller'; 'PHP General List' > Subject: RE: [PHP] php redirection.. > > all these are solid posts... > > however, the original posting, was not to do a redirect on the page

[PHP] date() and timezone

2006-12-14 Thread Fernando M. M.
Hello, I have a lot of php scripts that uses date() for some important operations. Yesterday those scripts were moved to another server which is on an different timezone. I haven't predicted this so my scripts aren't working anymore. The servers timezone is GMT -4 and mine is GMT -2. Is there a

Re: [PHP] date() and timezone

2006-12-14 Thread Jochem Maas
Fernando M. M. wrote: > > Hello, > > I have a lot of php scripts that uses date() for some important > operations. Yesterday those scripts were moved to another server which is on > an > different timezone. I haven't predicted this so my scripts aren't working > anymore. The > servers timezone

Re: [PHP] date() and timezone

2006-12-14 Thread Stut
Fernando M. M. wrote: I have a lot of php scripts that uses date() for some important operations. Yesterday those scripts were moved to another server which is on an different timezone. I haven't predicted this so my scripts aren't working anymore. The servers timezone is GMT -4 and mine is GMT

Re: [PHP] date() and timezone

2006-12-14 Thread Fernando M. M.
I´m using php5 here. But like i said i have lots of scripts inside this folder, is there a way to set something on .htaccess to change the timezone? > Fernando M. M. wrote: >> >> Hello, >> >> I have a lot of php scripts that uses date() for some important >> operations. Yesterday those scrip

Re: [PHP] date() and timezone

2006-12-14 Thread Jochem Maas
Fernando M. M. wrote: > > I´m using php5 here. > > But like i said i have lots of scripts inside this > folder, is there a way to set something on .htaccess to change the timezone? > yes. I suggest you actually following the given links and read what's there - that's what I did to answer your q

[PHP] Re: date() and timezone

2006-12-14 Thread Jonesy
On Thu, 14 Dec 2006 16:56:55 -0200 (BRST), Fernando M. M. wrote: > --=_20061214165655_35409 > Content-Type: text/plain; charset="iso-8859-1" > Content-Transfer-Encoding: 8bit > > I´m using php5 here. > > But like i said i have lots of scripts inside this > folder, is there a way to set somethin

[PHP] Having problem sending XML over HTTP

2006-12-14 Thread Nauman Akbar
Hello! I picked up an example from Curl section on php.net. I am able to access the remote page fine with a custom header. Unfortunately, I am not able to retrieve the XML I am sending at the remote end. I have tried both $HTTP_RAW_POST_DATA and php://input but neither of them returns anything.

Re: [PHP] Re: date() and timezone

2006-12-14 Thread Jochem Maas
Jonesy wrote: > On Thu, 14 Dec 2006 16:56:55 -0200 (BRST), Fernando M. M. wrote: >> --=_20061214165655_35409 >> Content-Type: text/plain; charset="iso-8859-1" >> Content-Transfer-Encoding: 8bit >> >> I´m using php5 here. >> >> But like i said i have lots of scripts inside this >> folder, is the

RE: [PHP] Having problem sending XML over HTTP

2006-12-14 Thread Brad Fuller
> -Original Message- > From: Nauman Akbar [mailto:[EMAIL PROTECTED] On Behalf Of Nauman > Akbar > Sent: Thursday, December 14, 2006 3:32 PM > To: php-general@lists.php.net > Subject: [PHP] Having problem sending XML over HTTP > > Hello! > > > > I picked up an example from Curl section o

[PHP] date formatting - no question here just a tip ...

2006-12-14 Thread Jochem Maas
have you ever had the need to programmatically convert a date() compatible date formatting string with one compatible for strftime()? I had this problem recently when I had to l10n an existing app (and support legacy data - which include date() formatting strings - at the same time) ... I came up

Re: [PHP] How php works?

2006-12-14 Thread Richard Lynch
On Wed, December 13, 2006 12:15 am, Kai Xiang wrote: > 1. I heard there is a zend engine inside PHP playing the role as a > virtual > machine, and PHP excution have 2 step, first compile to opcode and > then > excute the opcode, > so is that means the php are compiled only once per file? or still >

[PHP] google video like site

2006-12-14 Thread siavash1979
Hi, I applogize if this isn't really related to php-programming, but it's related to php. I'm wondering if anyone knows what program sites like google video or break.com use? is it a software like php-nuke, or phpBB or drupal? They all look pretty much the same, so I'm guessing it's a package the

Re: [PHP] google video like site

2006-12-14 Thread Jochem Maas
[EMAIL PROTECTED] wrote: > Hi, > > I applogize if this isn't really related to php-programming, but it's related > to > php. > > I'm wondering if anyone knows what program sites like google video or > break.com > use? is it a software like php-nuke, or phpBB or drupal? They all look pretty > mu

[PHP] PDO statement/resultset

2006-12-14 Thread David Duong
Hi everyone, Let me know if there is a better place to post this. I am playing with the idea of creating a true (KISS) abstraction layer that makes full use of PHP5's OOP support. So logically it would make sense to make use PDO wherever possible, however, one of PDO's design decisions was to

Re: [PHP] google video like site

2006-12-14 Thread Robert Cummings
On Thu, 2006-12-14 at 23:40 +0100, Jochem Maas wrote: > [EMAIL PROTECTED] wrote: > > Hi, > > > > I applogize if this isn't really related to php-programming, but it's > > related to > > php. > > > > I'm wondering if anyone knows what program sites like google video or > > break.com > > use? is

Re: [PHP] learning classes not sure how to do this correctly

2006-12-14 Thread Macha
I'm not sure if it matters or not, but this is happening on the page that you are sent to from hitting the submit button from the other page...test.php is a form that sends you to test2.php after hitting the submit button and its test2.php page that is having this issue with the $keclass. wit

[PHP] RegExp

2006-12-14 Thread WeberSites LTD
I'm trying to limit the text someone can submit in a text area with : Code: if(!preg_match("/^[א-תA-Za-z0-9_():,@\/\.\s\-\" ]*$/i",$FieldValue)) { } It works well but I'm having problems with the " (double quote). If there is a double quote (") it fails.

[PHP] LDAP and character encoding

2006-12-14 Thread Andreas Dahlen
Hej! I'm running PHP 5.1.2 on Suse 10. The LDAP server is openldap 2.3.19 I've problem with swedish characters and DN. DN: cn=åäö,dc=example,dc=com $res = ldap_search($ds, 'dc=example,dc=com', '(objectClass=*)'); $dn = ldap_get_dn($ds,$res); ==> $dn is cn=\C3\85\C3\84\C3\96,dc=example,dc=com