Re: [PHP] Targetted redirection?

2002-03-13 Thread Analysis Solutions
On Thu, Mar 14, 2002 at 07:58:29AM +0800, Michael P. Carel wrote: I have that kind of problem before, but it whould be much better to use javascripts rather than the HTTP Header function when redirecting to cover over the frame page. Use this instead:

Re: [PHP] explode() - quick question

2002-03-13 Thread Analysis Solutions
On Wed, Mar 13, 2002 at 10:06:01PM -0500, Phil Schwarzmann wrote: $array[0] = 'h' $array[1] = 'e' $character = explode('', $string) or You need to explode the array: $character = explode('', $array); --Dan -- PHP scripts that make your job easier

Re: [PHP] Re: Variables within a string

2002-03-13 Thread Analysis Solutions
On Tue, Mar 12, 2002 at 05:42:12PM +0800, Jason Wong wrote: On Tuesday 12 March 2002 12:27, Analysis Solutions wrote: The source of the data *does* matter. That is why the latest releases of PHP ( 4.0.6) recommends having register_globals OFF by default. ... snip snip snip ... To see why

Re: [PHP] auto redirection

2002-03-12 Thread Analysis Solutions
On Wed, Mar 13, 2002 at 08:41:38AM +0800, Michael P. Carel wrote: Is there anyone who could help me in redirecting the page outside the Frame page once a certain line of php scripts(or whatever) is executed or echoed out. My page redirection are appearing in the Frame page which it should

Re: [PHP] How to get the FULL address of a certin page???

2002-03-12 Thread Analysis Solutions
On Tue, Mar 12, 2002 at 10:32:38PM -0500, [EMAIL PROTECTED] wrote: I have a url like this: http://192.168.1.2/site/add_article.php?sid=5234a0f5acea9aa245dbe9846f6ace1c And I need to be able to RETURN the FULL url, how would i do this? I don't think there is any one function/variable to

Re: [PHP] http header with target problem

2002-03-11 Thread Analysis Solutions
On Tue, Mar 12, 2002 at 08:08:25AM +0800, Michael P. Carel wrote: I have here a problem regarding auto redirecting a Frame supported page upon session timeout. I'm redirecting the page upon session timeout to header(Location:index.php?expire=0); . But i want that to redirect with a

Re: [PHP] dynamic query string

2002-03-11 Thread Analysis Solutions
and I like, if possible, that someone can send me tips in how is the best way to concatenate the query string in order to do the search. The users will have about 8 types of options to search, age (18 - 25, 25-30..), gender, nationality. My favorite technique is to stick the WHERE's into

Re: [PHP] Re: Variables within a string

2002-03-11 Thread Analysis Solutions
On Tue, Mar 12, 2002 at 11:34:14AM +0800, Jason Wong wrote: On Tuesday 12 March 2002 11:11, Analysis Solutions wrote: On Mon, Mar 11, 2002 at 08:39:16PM -0500, webapprentice wrote: From: Jason Wong [EMAIL PROTECTED] On Monday 11 March 2002 11:10, Chris Cocuzzo wrote: $foo = Entry

Re: [PHP] How do I read a tab delimited file?

2002-03-11 Thread Analysis Solutions
$Array = explode(\t, $Line); Enjoy, --Dan -- PHP scripts that make your job easier http://www.analysisandsolutions.com/code/ SQL Solution | Layout Solution | Form Solution T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y -- PHP

Re: [PHP] BIG PROBLEm with headers

2002-03-08 Thread Analysis Solutions
Hi Krzysiek: I have problem with downloading any file from my site using IE 5.5 and HTTPS protocol. My php script works fine with Netscape 6.2 and HTTP/HTTPS protocols and with IE 5.5 but only with HTTP protocol. I suspect your script has nothing to do with it. A while back, I had

Re: [PHP] Urgent - MySQL is not inserting the single quotes

2002-03-07 Thread Analysis Solutions
Hi Manisha: If I give the command through text file - Insert into test values ('manisha\' test') - then this is ok, but when i try to insert the manisha ' test value through http://hostname/sqladmin using GUI then MySql is giving error. What's the error? That would certainly help us

Re: [PHP] Urgent - MySQL is not inserting the single quotes

2002-03-07 Thread Analysis Solutions
On Fri, Mar 08, 2002 at 12:44:30PM +0800, Manisha wrote: thanks, you are right, gpc_magic_quotes of php.ini was off. Oh, so then in your script, you weren't using the addslashes() function. Personally, I prefer *magic_quotes to be off, allowing me to precisely control what I want to do with

<    1   2   3   4   5