Studying archaeology now, Tam? ;-P
On Sat, Jun 1, 2013 at 8:22 PM, Tamara Temple tamouse.li...@gmail.com wrote:
Silvio Siefke li...@silvio-siefke.de wrote:
On Wed, 22 Jun 2011 17:50:49 -0400 Daniel P. Brown wrote:
Has someone a Link with Tutorials or other Information?
Not
Daniel Brown danbr...@php.net wrote:
Studying archaeology now, Tam? ;-P
Always been a huge fan. :)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Silvio Siefke li...@silvio-siefke.de wrote:
On Wed, 22 Jun 2011 17:50:49 -0400 Daniel P. Brown wrote:
Has someone a Link with Tutorials or other Information?
Not entirely sure what you're asking here, or how you (or the
nginx folks) expect it to relate to PHP. Do you mean that you
On Thu, Apr 26, 2012 at 12:58 PM, Stuart Dallas stu...@3ft9.com wrote:
On 26 Apr 2012, at 18:37, Jim Giner wrote:
Im no expert, but why would you expose a query to the world thru the use of
a GET? Why not just collect the params and build the string in your code?
That is how people hack into
On 04/27/2012 10:56 AM, Chris Stinemetz wrote:
I still haven't been able to find a solution. Is there anyone out
there that knows how to keep the query string intact?
Thank you,
Chris
urlencode($storerow['store_subject'])
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing
On 27 Apr 2012 at 16:56, Chris Stinemetz chrisstinem...@gmail.com wrote:
On Thu, Apr 26, 2012 at 12:58 PM, Stuart Dallas stu...@3ft9.com wrote:
On 26 Apr 2012, at 18:37, Jim Giner wrote:
Im no expert, but why would you expose a query to the world thru the use of
a GET? Why not just collect
On Fri, Apr 27, 2012 at 11:09 AM, Shawn McKenzie nos...@mckenzies.net wrote:
On 04/27/2012 10:56 AM, Chris Stinemetz wrote:
I still haven't been able to find a solution. Is there anyone out
there that knows how to keep the query string intact?
Thank you,
Chris
On 26 April 2012 22:27, Chris Stinemetz chrisstinem...@gmail.com wrote:
Hello list,
I'm trying to pass a query string through $_GET but for some reason
the array is being split on ''. How may I avoid this so it stays
intacted?
user selection portion:
while($storerow =
Im no expert, but why would you expose a query to the world thru the use of
a GET? Why not just collect the params and build the string in your code?
That is how people hack into your database - via a re-formed query. You're
giving someone an open invitation.
--
PHP General Mailing List
On 26 Apr 2012, at 18:37, Jim Giner wrote:
Im no expert, but why would you expose a query to the world thru the use of
a GET? Why not just collect the params and build the string in your code?
That is how people hack into your database - via a re-formed query. You're
giving someone an
Silvio Siefke li...@silvio-siefke.de wrote:
On Wed, 22 Jun 2011 17:50:49 -0400 Daniel P. Brown wrote:
Has someone a Link with Tutorials or other Information?
Not entirely sure what you're asking here, or how you (or the
nginx folks) expect it to relate to PHP. Do you mean that you
try
RewriteEngine on
RewriteRule ^theme([0-9]+).php$ /index.php?theme=$1 [L]
On Wed, Jun 22, 2011 at 11:22 PM, Silvio Siefke li...@silvio-siefke.dewrote:
Hello,
is there a chance with php to use rewriting?
Like Example:
mysite.com/theme.php?id=1 to theme.php theme2.php etc.
I
On Wed, Jun 22, 2011 at 17:32, Fatih P. fatihpirist...@gmail.com wrote:
try
RewriteEngine on
RewriteRule ^theme([0-9]+).php$ /index.php?theme=$1 [L]
That's neither nginx nor PHP, so it's not really relevant to the
OP's questions.
--
/Daniel P. Brown
Network Infrastructure Manager
On Wed, Jun 22, 2011 at 17:22, Silvio Siefke li...@silvio-siefke.de wrote:
Hello,
is there a chance with php to use rewriting?
Like Example:
mysite.com/theme.php?id=1 to theme.php theme2.php etc.
I have ask on the nginx list, but there they say i should use the power
language php.
When
On Wed, 22 Jun 2011 17:50:49 -0400 Daniel P. Brown wrote:
Has someone a Link with Tutorials or other Information?
Not entirely sure what you're asking here, or how you (or the
nginx folks) expect it to relate to PHP. Do you mean that you want to
use PHP to have theme2.php act as if it
On Wed, 22 Jun 2011 23:32:10 +0200 Fatih P. wrote:
try
RewriteEngine on
RewriteRule ^theme([0-9]+).php$ /index.php?theme=$1 [L]
That is rule for Apache i think. I have nginx, and there i have try much
rules but nothing want work. And on the list from nginx the maintainer write,
i should use
https://www.xxx.co.uk/register.php;| grep 123
I wonder what kind of browser could make this, probably a hacker-made one!
This URL will have to be translated into its equivalent URI, if using
GET the HTTP message's start line would look like:
GET /register.php| grep 123 HTTP/1.1
First of all,
2009/6/4 Morris morris...@gmail.com:
Hi
Can anyone help me handel this URL injection ?
https://www.xxx.co.uk/register.php;| grep 123
I want to detect it and header back to my index page.
It's quite urgent
What the smeg is register.php doing that makes it execute that?? Show
us the code.
Hi
The register.php has only a form
?php
form name=registerUser action=register.php method=post
input type=text name=username size=10 /
input type=submit value=send /
/form
?
Does this help ?
Thanks for reply
2009/6/4 Stuart stut...@gmail.com
2009/6/4 Morris morris...@gmail.com:
Hi
2009/6/4 Morris morris...@gmail.com:
Hi
The register.php has only a form
?php
form name=registerUser action=register.php method=post
input type=text name=username size=10 /
input type=submit value=send /
/form
?
Does this help ?
1) That is not valid PHP code.
2) Even if it were
Is there more to the register.php file that we're not seeing? It has to have
some sort of action...
On Thu, Jun 4, 2009 at 3:28 PM, Stuart stut...@gmail.com wrote:
2009/6/4 Morris morris...@gmail.com:
Hi
The register.php has only a form
?php
form name=registerUser
On Tue, 2009-04-21 at 08:39 +0200, Anders Norrbring wrote:
I'm working on a PayPal IPN module, and PayPal returns a lot of data in a
GET call.
The problem is that international characters entered by a user on the PayPal
site gets encoded really weird, and I don't see an obvious way to decode
Don Don wrote:
Hi all,
I've set up a url rewrite code below.
Options +FollowSymLinks
RewriteEngine on
RewriteRule profile/username/(.*) profile.php?username=$1
It only works when I type in this url
http://www.example.com/profiles/profile/username/baller/
If i do not then the
/profiles/profile/username/baller
--- On Fri, 7/25/08, Per Jessen [EMAIL PROTECTED] wrote:
From: Per Jessen [EMAIL PROTECTED]
Subject: Re: [PHP] URL Rewrite not working for me
To: php-general@lists.php.net
Date: Friday, July 25, 2008, 3:15 AM
Don Don wrote:
Hi all,
I've set up a url
Hi!!
For Internal redirection:
RewriteRule profile/username/([^/]+) profile.php?username=$1 [PT]
On Fri, Jul 25, 2008 at 3:00 AM, Don Don [EMAIL PROTECTED] wrote:
Hi all,
I've set up a url rewrite code below.
Options +FollowSymLinks
RewriteEngine on
RewriteRule profile/username/(.*)
Don Don wrote:
Hi Per,
changed the rewrite to this
Options +FollowSymLinks
RewriteEngine on
RewriteRule profile/username/(.*) profile.php?username=$1 [r]
but sill does not work the way i want. Entering this url
http://example.com/profiles/profile.php?username=baller does not
cnage
On Fri, Jul 25, 2008 at 6:00 AM, Don Don [EMAIL PROTECTED] wrote:
Hi all,
I've set up a url rewrite code below.
Options +FollowSymLinks
RewriteEngine on
RewriteRule profile/username/(.*) profile.php?username=$1
It only works when I type in this url
Daniel Brown wrote:
Per's answer is probably exactly what you're looking for, Don.
Keep in mind, though, that this isn't a PHP question. Future
questions of this nature would be better suited for the Apache list.
Couldn't agree more.
You may find sometimes that asking a question on the
On Fri, Jul 25, 2008 at 3:59 PM, Per Jessen [EMAIL PROTECTED] wrote:
However, Don's question was of the kind that is easily overlooked on the
apache list, where topics tend to be a little less basic. I tend to
think that basic apache/php questions are sometimes better asked here,
even if
Look at http://framework.zend.com/manual/en/zend.controller.router.html
Apache configuration et framework methods to rout your files are there.
Subhranil [EMAIL PROTECTED] a écrit dans le message de
news:[EMAIL PROTECTED]
Hi All,
I want to show one URL at browser and content of different
Subhranil wrote:
Hi All,
I want to show one URL at browser and content of different URL.
Take a look at apache url rewriting.
/Per Jessen, Zürich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Wed, Jul 2, 2008 at 6:33 AM, Per Jessen [EMAIL PROTECTED] wrote:
Subhranil wrote:
Hi All,
I want to show one URL at browser and content of different URL.
Take a look at apache url rewriting.
/Per Jessen, Zürich
--
PHP General Mailing List (http://www.php.net/)
To
On Wednesday 02 July 2008 13:34:32 Bastien Koert wrote:
On Wed, Jul 2, 2008 at 6:33 AM, Per Jessen [EMAIL PROTECTED] wrote:
Subhranil wrote:
Hi All,
I want to show one URL at browser and content of different URL.
Take a look at apache url rewriting.
/Per Jessen, Zürich
At 4:46 PM + 2/25/08, Nathan Rixham wrote:
It may be a good time to throw in this .htaccess which just palms
eveything [not found] off to php
[.htaccess]
RewriteEngine On
RewriteBase /
DirectoryIndex handle.urls.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
tedd wrote:
At 4:46 PM + 2/25/08, Nathan Rixham wrote:
It may be a good time to throw in this .htaccess which just palms
eveything [not found] off to php
[.htaccess]
RewriteEngine On
RewriteBase /
DirectoryIndex handle.urls.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond
On Sat, Feb 23, 2008 at 6:27 AM, Richard Heyes [EMAIL PROTECTED] wrote:
You could also forego the Files bit if you're willing to accept URLs
like this:
/rental.php/property/23425
I was waiting to see if anyone made mention of that while reading
through the thread. I think this is a
Daniel Brown wrote:
On Sat, Feb 23, 2008 at 6:27 AM, Richard Heyes [EMAIL PROTECTED] wrote:
You could also forego the Files bit if you're willing to accept URLs
like this:
/rental.php/property/23425
I was waiting to see if anyone made mention of that while reading
through the thread.
-Original Message-
From: Daniel Brown [mailto:[EMAIL PROTECTED]
Sent: Monday, February 25, 2008 11:37 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; php-general@lists.php.net
Subject: Re: [PHP] URL modification
On Sat, Feb 23, 2008 at 6:27 AM, Richard Heyes [EMAIL PROTECTED
I think this is a highly underused built-in
feature.
Agreed. I started to use it on my blog instead of a query string and
pages reported by Google went up.
--
Richard Heyes
http://www.phpguru.org
Free PHP and Javascript code
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
thnks
Xavier
Please consider the environment before printing this mail note.
-Original Message-
From: Nathan Rixham [mailto:[EMAIL PROTECTED]
Sent: vendredi 22 février 2008 18:58
To: php-general@lists.php.net
Subject: Re: [PHP] URL modification
Richard Heyes wrote:
H... made
Let's say we've got 2.5 million users :: weight up 2.5 million files vs
1 rewrite rule
map:
/rental/property/23425
to:
/index.php?mod=propertysection=rentalspropertyid=23425
You never mentioned this many users. Hence you're moving the boundaries
somewhat.
finally, do you honestly not use
/rental/property/23425
to:
/index.php?mod=propertysection=rentalspropertyid=23425
Thinking about this a little, you still don't need mod_rewrite.
rental could be a PHP script, forced through PHP with:
Files rental
ForceType application/x-httpd-php
/Files
In either a .htaccess file or,
Site: www.eds.mu
Email: [EMAIL PROTECTED]
Please consider the environment before printing this mail note.
-Original Message-
From: Andrés Robinet [mailto:[EMAIL PROTECTED]
Sent: vendredi 22 février 2008 11:48
To: php-general@lists.php.net
Subject: RE: [PHP] URL modification
Subject: RE: [PHP] URL modification
-Original Message-
From: Xavier de Lapeyre [mailto:[EMAIL PROTECTED]
Sent: Friday, February 22, 2008 2:09 AM
To: php-general@lists.php.net
Subject: [PHP] URL modification
Importance: High
Hi all,
I saw on some websites that modifies the links to access
H... made a quick look into it.
Seems to be apache compatible.
I'm designing a site to be hosted on an IIS Server.
Does it still works there?
On IIS I belive the default document is default.htm Though you should be
able to modify this to whatever you please. On Apache it is index.html
or
Xavier de Lapeyre wrote:
Hi all,
I saw on some websites that modifies the links to access the webpages.
Something like:
http://www.example.com/login/
instead of
http://www.example.com/login.php
Does anyone knows how this works or how its call / which PHP library
performs this
On Feb 22, 2008, at 2:09 AM, Xavier de Lapeyre wrote:
Hi all,
I saw on some websites that modifies the links to access the webpages.
Something like:
http://www.example.com/login/
instead of
http://www.example.com/login.php
Does anyone knows how this works or how its call / which PHP library
Richard Heyes wrote:
H... made a quick look into it.
Seems to be apache compatible.
I'm designing a site to be hosted on an IIS Server.
Does it still works there?
On IIS I belive the default document is default.htm Though you should be
able to modify this to whatever you please. On
Nathan Rixham wrote:
To use url's like http://domain.com/login/ as opposed to
http://domain.com/login.php you can take multiple approaches.
[big snip]
Seriously, this is all overkill. Apache content negotiation does it all
automagically and with minimal effort.
/Per Jessen, Zürich
--
On Fri, Feb 22, 2008 at 10:53 AM, Per Jessen [EMAIL PROTECTED] wrote:
Nathan Rixham wrote:
To use url's like http://domain.com/login/ as opposed to
http://domain.com/login.php you can take multiple approaches.
[big snip]
Seriously, this is all overkill. Apache content
Daniel Brown wrote:
On Fri, Feb 22, 2008 at 10:53 AM, Per Jessen [EMAIL PROTECTED] wrote:
Nathan Rixham wrote:
To use url's like http://domain.com/login/ as opposed to
http://domain.com/login.php you can take multiple approaches.
[big snip]
Seriously, this is all overkill.
Per Jessen wrote:
Daniel Brown wrote:
On Fri, Feb 22, 2008 at 10:53 AM, Per Jessen [EMAIL PROTECTED] wrote:
Nathan Rixham wrote:
To use url's like http://domain.com/login/ as opposed to
http://domain.com/login.php you can take multiple approaches.
[big snip]
Seriously, this is all
+ rewrite is overkill for this, but long term it's worth implementing
and getting used to - think of the post as a pre-emptive strike on the
inevitable question in a couple of weeks: how can i make /profile/adam
instead of profile.php?user=adam
Have a directory in your htdocs called
Richard Heyes wrote:
+ rewrite is overkill for this, but long term it's worth implementing
and getting used to - think of the post as a pre-emptive strike on the
inevitable question in a couple of weeks: how can i make
/profile/adam instead of profile.php?user=adam
Have a directory in your
Nathan Rixham wrote:
+ rewrite is overkill for this, but long term it's worth implementing
and getting used to
Completely agree. You've got to get to know url rewriting. I don't
know how you can manage without it, even if it's far from always the
right answer.
/Per Jessen, Zürich
--
PHP
-Original Message-
From: Xavier de Lapeyre [mailto:[EMAIL PROTECTED]
Sent: Friday, February 22, 2008 2:09 AM
To: php-general@lists.php.net
Subject: [PHP] URL modification
Importance: High
Hi all,
I saw on some websites that modifies the links to access the webpages.
Chris wrote:
Richard Heyes wrote:
well if you take a string (filename) and wish to change the end of it
somone
then I don't think str_replace() is the correct function. what's to
say a script
doesn't exist called 'my.cfm.php'?
How does this:
/\.cfm$/
take into account that?
$ in regex's
Richard Heyes wrote:
Chris wrote:
Richard Heyes wrote:
well if you take a string (filename) and wish to change the end of
it somone
then I don't think str_replace() is the correct function. what's to
say a script
doesn't exist called 'my.cfm.php'?
How does this:
/\.cfm$/
take into
one of these should give you something to go on:
echo preg_replace('\.cfm$', '-meta.cfm', parse_url($_SERVER['REQUEST_URI'],
PHP_URL_PATH)), \n;
echo preg_replace('\.cfm$', '-meta.cfm', $_SERVER['PATH_TRANSLATED']), \n;
echo preg_replace('\.cfm$', '-meta.cfm', $_SERVER['SCRIPT_FILENAME']), \n;
Richard Heyes wrote:
one of these should give you something to go on:
echo preg_replace('\.cfm$', '-meta.cfm',
parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH)), \n;
echo preg_replace('\.cfm$', '-meta.cfm', $_SERVER['PATH_TRANSLATED']),
\n;
echo preg_replace('\.cfm$', '-meta.cfm',
well if you take a string (filename) and wish to change the end of it somone
then I don't think str_replace() is the correct function. what's to say a script
doesn't exist called 'my.cfm.php'?
How does this:
/\.cfm$/
take into account that?
--
Richard Heyes
+44 (0)800 0213 172
Richard Heyes wrote:
well if you take a string (filename) and wish to change the end of it
somone
then I don't think str_replace() is the correct function. what's to
say a script
doesn't exist called 'my.cfm.php'?
How does this:
/\.cfm$/
take into account that?
WTF
--
PHP
Richard Heyes wrote:
well if you take a string (filename) and wish to change the end of it
somone
then I don't think str_replace() is the correct function. what's to
say a script
doesn't exist called 'my.cfm.php'?
How does this:
/\.cfm$/
take into account that?
$ in regex's means 'end of
At 12:18 PM -0600 11/24/07, Amanda Loucks wrote:
Hi,
I'm working on redesigning the backend of the website for work. It was
originally done in ColdFusion, but I'm switching it over to PHP - probably
going to transfer the website from where it's currently hosted to something
a lot cheaper, too,
Amanda Loucks wrote:
Hi,
I'm working on redesigning the backend of the website for work. It was
originally done in ColdFusion, but I'm switching it over to PHP - probably
going to transfer the website from where it's currently hosted to something
a lot cheaper, too, hence the switching to
On 6/9/07, Dave Howard Schiff [EMAIL PROTECTED] wrote:
Hello everyone,
I have a problem, that I hope you can help me to solve:
I'm writing a very simple PHP script to list a directory contents based on a 'user'
variable given by a login/password script. The problem is, the webhosting i'm
On Sat, June 9, 2007 12:14 pm, Dave Howard Schiff wrote:
I have a problem, that I hope you can help me to solve:
I'm writing a very simple PHP script to list a directory contents
based on a 'user' variable given by a login/password script. The
problem is, the webhosting i'm using don't
On 3/9/07, Michael Clayfield [EMAIL PROTECTED] wrote:
when i open up a url with fopen(), i get this error message:*
Warning*: fopen(http://sumurlhere.whatever/index.html) [function.fopen
http://127.0.0.1/bots2/function.fopen]: failed to open stream: A
connection attempt failed because the
On Fri, July 7, 2006 10:56 pm, Anas Mughal wrote:
My URLs are constant. They are not changing.
All my dynamic pages are indexed nicely on Google.
I agree that a computerized screen scrapper could still screen scrap
most of
my site. However, a simple script that attempts to bump up the
For me it doesnt matter I dont want Google in the section that I'm obfuscation.
On 7/13/06, Richard Lynch [EMAIL PROTECTED] wrote:
On Fri, July 7, 2006 10:56 pm, Anas Mughal wrote:
My URLs are constant. They are not changing.
All my dynamic pages are indexed nicely on Google.
I agree that a
On Thu, July 6, 2006 11:49 am, Dan McCullough wrote:
Looking for a good way to obfuscation the name value pairs in a URL,
so it might be something like
http://www.domain.com/page=fjdsaflkjdsafkfjdsakfjdsalkfjsda983dsf or
something like that, I was looking at base64_encode, but was wondering
On Thu, July 6, 2006 12:00 pm, Anas Mughal wrote:
I have encrypted the values -- not the keys. With this approach, I
presume I
have made it harder for anyone trying to screen scrap my data. (It is
not
possible to write a script that would loop over my pages.)
Unless you are using an
My URLs are constant. They are not changing.
All my dynamic pages are indexed nicely on Google.
I agree that a computerized screen scrapper could still screen scrap most of
my site. However, a simple script that attempts to bump up the identifier of
a resource in a URL, would not work. Here is
I have encrypted the values -- not the keys. With this approach, I presume I
have made it harder for anyone trying to screen scrap my data. (It is not
possible to write a script that would loop over my pages.)
Why do you need to encrypt the keys?
--
Anas Mughal
On 7/6/06, Dan McCullough
Keith wrote:
Hi all
Not really a php issue per se - sorry.
But I'm sure someone here is bound to know the answer. :-)
I have a main site that is accessible at say
http://www.somedomain.com/somedir/; but I want visitors to be able to
access the site using simply
Chris wrote:
Greetings PHP folks,
Which PHP function do I use if I want to achieve the following :
http://www.somesite.com/gallery/pics.php is the url...how do I get it to
read only http://www.somesite.com in the browser address bar without the
rest of the directory and filename appearing ?
If you are in a *nix environment, make a symlink from site_folder/index.php -
site_folder/example_folder/index.php and that should do it.
Shaunak Kashyap
Senior Web Developer
WPT Enterprises, Inc.
5700 Wilshire Blvd., Suite 350
Los Angeles, CA 90036
Main: 323.330.9900
I think you need to create a stream context resource with:
http://www.php.net/manual/en/function.stream-context-create.php
set the options you need on it with:
http://www.php.net/manual/en/function.stream-context-set-option.php
then pass the resource as the 4th arg to fopen() (rather passing
On Thu, January 19, 2006 6:49 pm, Geoff wrote:
Richard, have you seen this:
http://bugs.php.net/bug.php?id=5153edit=1
This bug goes back to June 2000. And it's closed even though it is
clearly not fixed. Doesn't seem like they'll get to it anytime soon.
You might have to do it the long way,
On Fri, January 20, 2006 7:10 am, Jochem Maas wrote:
I think you need to create a stream context resource with:
http://www.php.net/manual/en/function.stream-context-create.php
set the options you need on it with:
http://www.php.net/manual/en/function.stream-context-set-option.php
then pass
Richard Lynch wrote:
So I've been poring over the docs for the new stream stuff, and it
looks pretty nifty, except...
I'd really like to be able to just hand a URL to PHP like:
http://php.net/manual/en/ref.stream.php
er you can if allow_url_fopen ini setting is set to 1 (can't you?)
$fh =
On Thu, January 19, 2006 5:17 am, Jochem Maas wrote:
Richard Lynch wrote:
So I've been poring over the docs for the new stream stuff, and it
looks pretty nifty, except...
I'd really like to be able to just hand a URL to PHP like:
http://php.net/manual/en/ref.stream.php
er you can if
3 suggestions:
I honestly have no idea if this would work, but maybe fopen supports
non-blocking connections? Or creation of context-based connections
(for which you can use stream_set_blocking). If so, you could take a
stamp of the current time plus a timeout value, make the fopen call
On Thu, January 19, 2006 4:08 pm, Geoff wrote:
I honestly have no idea if this would work, but maybe fopen supports
non-blocking connections?
Not as far as I can tell...
You can call stream_set_blocking after it's open, but that doesn't
help a slow connection in the first place.
Or creation
Richard, have you seen this:
http://bugs.php.net/bug.php?id=5153edit=1
This bug goes back to June 2000. And it's closed even though it is
clearly not fixed. Doesn't seem like they'll get to it anytime soon.
You might have to do it the long way, building your own protocol
handlers. Or, you might
Chris wrote:
I trying to create an absolute path to include scripts and images
in another directory.
These are two different things, but there is a relationship in the sense
that URLs are translated to filesystem paths using document root:
http://host/path/to/script.php = [document
On Fri, November 11, 2005 9:12 pm, Imroz wrote:
Hi PHP Gurus
Am new to the php world, I need help to do something. PlZz help
I have this link HYPERLINK
http://www.taximauritius.mu/link1.phphttp://www.taximauritius.mu/link1
..php.
What I want to do :
When clicking on the link above,
You've tried accessing $_GET in reservation.php?
Like
$_GET['client'] would return apartment1 in reservation.php if you
clicked on
http://www.taximauritius.mu/reservation.php?client=apartment1
-Minuk
Imroz wrote:
Hi PHP Gurus
Am new to the php world, I need help to do something.
Havn't done it myself, but why not try pasting a link in IM and have it go to a
php script that does a var_dump (or print_r) of $_SERVER. Think that's where
the referrer data is.
It may not show any referrer information since it's coming from an IM, but who
knows.. would be interesting to
Thanks for the thoughts -- some good points! I will let you know if I
come up with anything that works, please let me you know if you do
the same :)
Best,
Mike D
...
Mike Dunlop
Director of Technology Development
[ e ] [EMAIL
On Thu, July 7, 2005 6:40 pm, timothy johnson said:
This should be pretty simple but I cant find any info on it at the
site. I am writing a function that will create a anchor, but I want it
to call the same page it is on. Is there a way to get the current php
page I am on so that when I output
Mario netMines wrote:
I have a value like: %u0394%u0397%u03A4%u039C%u039B
Is there a way to decode to normal characters (like javascript's
unescape() function)
I think you might want to try mb_parse_str(), although I can't run a
quick test for you, because I don't have the multibyte
$lines = file('http://www.example.com/');
foreach ($lines as $line) {
echo $line . \n;
}
This ought to do it. Try it and see.
But be aware that if the allow_url_fopen was not enable at the compile
time, this won't work.
Mark Cain
- Original Message -
From: vlad georgescu [EMAIL
$image_dir is an url (begins with http:// or similar) and
allow_url_fopen is off on your BSD.
Do you need to access it using url wrappers? If the images are local you
can access them using plain filesystem access
Jackson Linux wrote:
Hi, ho,
I have a problem; something which works locally is
My provider has provided me the solution: adding
php_flag allow_url_fopen on
to the .htaccess
Apologies to the list for wasting time and bandwidth.
Jack
On 31 Mar 2005, at 17:47, Jackson Linux wrote:
Hi, ho,
I have a problem; something which works locally is complaining on the
BSD Unix server I
That's because the character data is split on the borders of the
entities, so for
http://feeds.example.com/?rid=318045f7e13e0b66amp;cat=48cba686fe041718amp;f=1
characterData() will be called 5 times:
http://feeds.example.com/?rid=318045f7e13e0b66
cat=48cba686fe041718
f=1
Solution is inlined
Hi Marek,
Thank you for the solution.
--
Roger
Quoting Marek Kilimajer [EMAIL PROTECTED]:
That's because the character data is split on the borders of the
entities, so for
http://feeds.example.com/?rid=318045f7e13e0b66amp;cat=48cba686fe041718amp;f=1
characterData() will be called 5
Bruno Santos wrote:
Hello.
Im having some trouble when getting a query from a $_GET method
the problem is, when using $_GET, i get some charaters decoded as html
entities.
if i submit the word %sara% (example), is ok
but, if i submi the word %carlos%, i get Êrlos, witch is the translation
of
Bruno Santos wrote:
Hello.
Im having some trouble when getting a query from a $_GET method
the problem is, when using $_GET, i get some charaters decoded as html
entities.
if i submit the word %sara% (example), is ok
but, if i submi the word %carlos%, i get Êrlos, witch is the translation
u can try fopen
On Wed, 12 Jan 2005 09:40:26 +0100, Wiberg [EMAIL PROTECTED] wrote:
Hi there!
I'm a total newbie at connecting to diffrent servers, and b2b and such stuff
, so I guess this is a simple question for you guys...
Another company wants me to access their productinfo thorugh
1 - 100 of 279 matches
Mail list logo