there another way to do this?
Yes, 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
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
Ivone --
You are using a PERL invocation for php. PHP scripts begin with
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.
http:
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
.
I do not even know how to begin 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
se the browser is going to do it again for you.
Hope 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
achieve this. You will know you have it right when
your HTML form tag looks like this:
action="http://embitec.com/fishcart/email.php?ref=http%3A%2F%2Fembitec.com%2Ffishcart%2Fdisplayem.php3%3Fcat%3D5%26olimit%3D0%26zid%3D1%26lid%3D1";
method="post">
Hope that helps.
Chris
n the text area where I display it:
or even
it comes out as:
http://embitec.com/fishcart/displayem.php3?cat=5
???
Best,
Nicole
--- Nicole Lallande <[EMAIL PROTECTED]> wrote:
> this page
>
> where the url is
>
> http://mydomain.com/displayem.php3?cat=5&olimit=0&
nd
the '&olimit=0&zid=1&lid=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 [ma
he 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: http://www.php.net/unsub.php
, I lose the '&val2=2&val3=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: http://www.php.net/unsub.php
ript headers:
>c:/php/php.exe'. Does anyone know what could cause this error and why the
>url isn't working??
>
>thanks
>
>Kenni Graversen
>
>
>
>
>
--
Nicole Lallande
[EMAIL PROTECTED]
760.753.6766
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
contains no data. Can anyone tell me why? Perhaps I would 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
--
oremodules.com/
>Web Development and Support at Affordable Prices
>901-757-8322 [EMAIL PROTECTED]
>
>
>
>
>
>
--
Nicole Lallande
[EMAIL PROTECTED]
760.753.6766
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
om/findme.php is the result I get from the php code
>below. Help!
>
>if ($handle = opendir('/my/directory')) {
>echo "Directory handle: $handle\n";
>echo "Files:\n";
>
>
>
>while (false !== ($file = readdir($handle))) {
>
te a php page that will show the files on an apache server.
>Each file will show up as a link on the page. When clicked, the user will be
>able to download the file. Is there anyone out there that can lead me in the
>right direction.
>
--
Nicole Lallande
[EMA
it's php_flag register_globals off -- you can either place this within
your 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
ow do I do that?
>
>
>.: B i g D o g :.
>
>
>
>
--
Nicole Lallande
[EMAIL PROTECTED]
760.753.6766
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
;page=$2
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 Lalland
rks
>fine, etc. 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 Mail
; For additional commands, e-mail: [EMAIL 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-ma
eas?
>
> 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]
echo "$cat";
} else {
echo "$cat";
}
Thanks,
Nicole
--
Nicole Lallande
[EMAIL PROTECTED]
760.753.6766
--
PHP General Mailing List (http://www.php.net/)
To
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?
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.6
LY 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.6766
--
PHP General Maili
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
--
PHP General
7;t get results: " .
> 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
> &
sed from the form correctly.
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
sed from the form correctly.
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 th
30 matches
Mail list logo