[PHP] ereg_replace

2004-02-10 Thread Nicole Lallande
Can anyone tell me why this does not work: $str1=ereg_replace(index.php?src=,index/,$url); is there another way to do this? Thanks, Nicole -- Nicole Lallande [EMAIL PROTECTED] 760.753.6766 -- PHP General Mailing List (http://www.php.net

Re: [PHP] ereg_replace -- Thanks!

2004-02-10 Thread Nicole Lallande
, str_replace() for something this simple: $str1 = str_replace(index.php?src=, index/, $url); -- Nicole Lallande [EMAIL PROTECTED] 760.753.6766 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php as cgi script

2003-11-28 Thread Nicole Lallande
Ivone -- You are using a PERL invocation for php. PHP scripts begin with ?php the # sign is a comment in PERL - not in PHP. To run php as cgi you need to install the php cgi version (as opposed to the apache modular installation.) That will allow you to run cgi scripts on the command line.

[PHP] testing - please ignore

2003-07-23 Thread Nicole Lallande
test my subscription -- Nicole Lallande [EMAIL PROTECTED] 760.753.6766 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] a conundrum -- php/mysql script

2003-03-18 Thread Nicole Lallande
to debug this which is why I posted to both lists -- any pointers? clues? TIA, Nicole -- Nicole Lallande [EMAIL PROTECTED] 760.753.6766 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] passing complete URL through php scripts using javascript popup

2002-11-26 Thread Nicole Lallande
=2val3=3' portion of the query string ) Any ideas? Sorry if this is obvious - pulling an 'all nighter'... TIA, Nicole -- Nicole Lallande [EMAIL PROTECTED] 760.753.6766 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] can't pass complete URL (part of the query string) from one scriptto another --??

2002-11-26 Thread Nicole Lallande
if this is obvious - pulling an 'all nighter'... TIA, Nicole -- Nicole Lallande [EMAIL PROTECTED] 760.753.6766 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP] can't pass complete URL (part of the query string) from

2002-11-26 Thread Nicole Lallande
/displayem.php3?cat=5 being passed and the 'olimit=0zid=1lid=1' gets cut off - still?? Thanks, Nicole hi nicole, do you have an example what your query contains ? maybe urlencode($pageURL) or quoting will help greetings martin -Urspr\xfcngliche Nachricht- Von: Nicole Lallande [mailto

[PHP] Re: PHP] can't pass complete URL (part of the query string) from

2002-11-26 Thread Nicole Lallande
echo $ref; ? or even ?php echo $_GET['ref']; ? it comes out as: http://embitec.com/fishcart/displayem.php3?cat=5 ??? Best, Nicole --- Nicole Lallande [EMAIL PROTECTED] wrote: a href=email.php?ref=?=urlencode($pageURL);?this page/a where the url is http://mydomain.com/displayem.php3?cat

[PHP] Re: PHP] can't pass complete URL (part of the query string)

2002-11-26 Thread Nicole Lallande
%2Ffishcart%2Fdisplayem.php3%3Fcat%3D5%26olimit%3D0%26zid%3D1%26lid%3D1; method=post Hope that helps. Chris -- Nicole Lallande [EMAIL PROTECTED] 760.753.6766 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] Re: PHP] can't pass complete URL (part of the query string) - aha-- that worked - except for the javascript

2002-11-26 Thread Nicole Lallande
that clears it up for you. Chris -- Nicole Lallande [EMAIL PROTECTED] 760.753.6766 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Using '/' instead of '?' in url querystring

2002-10-07 Thread Nicole Lallande
-- Nicole Lallande [EMAIL PROTECTED] 760.753.6766 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] upgrading script from using GLOBALS

2002-10-02 Thread Nicole Lallande
be better off just declaring the variable? Would that take care of the problem? $dbname= dbname; Thanks, Nicole -- Nicole Lallande [EMAIL PROTECTED] 760.753.6766 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] can you recommend PHP shopping cart

2002-09-18 Thread Nicole Lallande
features and is then easy to extend as every customer has their uniqure requirements. Anyone got some suggestions? Peter http://www.coremodules.com/ Web Development and Support at Affordable Prices 901-757-8322 [EMAIL PROTECTED] -- Nicole Lallande [EMAIL

Re: [PHP] .htaccess file

2002-08-01 Thread Nicole Lallande
:. -- Nicole Lallande [EMAIL PROTECTED] 760.753.6766 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] .htaccess file

2002-08-01 Thread Nicole Lallande
it's php_flag register_globals off -- you can either place this within your Directory tags in your httpd .conf file or in an htaccess file -- for more info see http://www.php.net/manual/en/configuration.php#AEN2390 best, Nicole Nicole Lallande wrote: I think it is something like - can't

Re: [PHP] Php Dynamic Pages Apache Server

2002-08-01 Thread Nicole Lallande
will be able to download the file. Is there anyone out there that can lead me in the right direction. -- Nicole Lallande [EMAIL PROTECTED] 760.753.6766 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] Readdir

2002-08-01 Thread Nicole Lallande
below. Help! ?php if ($handle = opendir('/my/directory')) { echo Directory handle: $handle\n; echo Files:\n; while (false !== ($file = readdir($handle))) { echo $file\n; } closedir($handle); } ? -- Nicole Lallande [EMAIL PROTECTED

[PHP] how to test if rewrite rule is working

2002-06-08 Thread Nicole Lallande
How do I test to see if this is working from a search engine robot standpoint? I don't see anything in my log files and I don't see that the URI in the address bar has changed. Am I doing something wrong? TIA, Nicole -- Nicole Lallande [EMAIL PROTECTED] 760.753.6766

Re: [PHP] .php3 extension?

2002-05-30 Thread Nicole Lallande
. The question I have, how can I configure PHP (or Apache?) to support (and run) .php3 extension files? Thanks a lot, Gabi. -- Nicole Lallande [EMAIL PROTECTED] 760.753.6766 -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] Forum script

2001-06-20 Thread Nicole Lallande
PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- Nicole Lallande [EMAIL PROTECTED] 760.753.6766 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: [PHP] Netscape 6, What a piece of s$#@ ,anyone else had problems with php and Netscape 6?

2001-05-16 Thread Nicole Lallande
Ideas? Thanks Brandon -- PHP General 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] -- Nicole Lallande [EMAIL PROTECTED

[PHP] selected option values not being captured by form processing software

2001-03-13 Thread Nicole Lallande
cat = $catid[$i]; if($select_product =="cat") { echo "option value=\"$cat\" selected$cat/option"; } else { echo "option value=\"$cat\"$cat/option"; } Thanks, Nicole

[PHP] wordwrap() in php4.03pl1 does not work(?)

2001-03-12 Thread Nicole Lallande
Hi All, Am trying to use this function which in the manual is defined as working in versions of php 4.02 -- well, I qualify - but the feature does not work. Anyone know what is going on? TIA, Nicole -- Nicole Lallande [EMAIL PROTECTED] 760.753.6766

Re: [PHP] wordwrap() in php4.03pl1 does not work(?)

2001-03-12 Thread Nicole Lallande
Sheesh - I forgot - the function is wordwrap() Nicole Lallande wrote: Hi All, Am trying to use this function which in the manual is defined as working in versions of php 4.02 -- well, I qualify - but the feature does not work. Anyone know what is going on? TIA, Nicole

[PHP] printing data using javascript with php

2001-03-09 Thread Nicole Lallande
atabase in the php code. Now I KNOW I have got things MAJORLY confused here - but the more I read the more wrapped up I seem to get so if there a way to pull this off and someone knows - I would appreciate your help Thanks, Nicole -- Nicole Lallande [EMAIL PROTECTED] 760.753.

[PHP] Stumped Newbie: Can't get results in db query even though everything checks - what am I missing?

2001-03-08 Thread Nicole Lallande
y. I have checked the names of all the fields to ensure they match the variables in the query, checked that the values in the fields are correct - (yes, I have checked that they match.) I have searched the archives but the hard thing about the archives is formulating the question in a way that will

[PHP] Stumped Newbie: Can't get results in db query even though everything checks - what am I missing?

2001-03-08 Thread Nicole Lallande
y. I have checked the names of all the fields to ensure they match the variables in the query, checked that the values in the fields are correct - (yes, I have checked that they match.) I have searched the archives but the hard thing about the archives is formulating the question in a way that will yi

Re: [PHP] Stumped Newbie: Can't get results in db query eventhough everything checks - what am I missing?

2001-03-08 Thread Nicole Lallande
quot; . mysql_error()); it might give more information to help you find the problem... At 10:15 AM 3/8/01 -0800, Nicole Lallande wrote: Greetings, I keep getting the message that I cannot get results. I have a simple user authentication code that uses a mysql database to authenticate from. Init

[PHP] newbie: ye ol' nemesis using mysql_fetch_array to load data

2001-03-08 Thread Nicole Lallande
the archives, books - saw a similar question but I tried what they did and it did not work. This is one of those instances where the solution is so simple I can't find it. TIA for your help, Nicole -- Nicole Lallande [EMAIL PROTECTED] 760.753.6766 #