?php
if (!isset($_SERVER['PHP_AUTH_USER'])) {
header('WWW-Authenticate: Basic realm=My Realm');
header('HTTP/1.0 401 Unauthorized');
echo 'Text to send if user hits Cancel button';
exit;
} else {
echo pHello {$_SERVER['PHP_AUTH_USER']}./p;
echo pYou entered
-- Forwarded message --
From: Ashim Kapoor ashimkap...@gmail.com
Date: Mon, Feb 21, 2011 at 12:46 PM
Subject: Re: [PHP] HTTP Authenticaion Query
To: Peter Lind peter.e.l...@gmail.com
You are tired and not thinking straight. HTTP is a stateless thing: 1.
you request the page
Hi Everyone,
I would like to know whether there is a http request PHP script. I
would like to use in cases where a background script is running for
sometime and outputs the results in PHP once the script has been executed.
Thanks.
musa
On Sunday 05 December 2010,
Moses jam...@gmail.com wrote:
Hi Everyone,
Hello...
I would like to know whether there is a http request PHP script. I
would like to use in cases where a background script is running for
sometime and outputs the results in PHP once the script has been
I am not sure if I understand the question with clarity. What exactly
do you mean by a HTTP request script?
Since it involves a web server to run the PHP script, the HTTP request
and response will be the backbone of the whole transaction. But like I
mentioned earlier, I could be seeing the
I know this isn't PHP related, but every day I post to this list I get a
message back from mytr...@mail.ua mytr...@mail.ua which is an
auto-responder.
It is rather annoying, and makes little sense for whoever is using this
service to sign up to a mailing list and not make this service aware of
I get the same thing but wrote it off as someone's autoresponder. I didn't
check the email address.
Regards,
-Josh
Joshua Kehn | josh.k...@gmail.com
http://joshuakehn.com
On Oct 13, 2010, at 2:52 PM, Ashley Sheridan wrote:
I know this isn't PHP related,
2010/10/13 Ashley Sheridan a...@ashleysheridan.co.uk
I know this isn't PHP related, but every day I post to this list I get a
message back from mytr...@mail.ua mytr...@mail.ua which is an
auto-responder.
It is rather annoying, and makes little sense for whoever is using this
service to
Is there a PHP function that will return whether the request was http or
https? I have functions that need to cURL other servers - sometimes over
SSL, sometimes not, depending whether the function is called from
http://www.mydomain.com/script_that_calls_function.php or
Hi,
isset($_SERVER['HTTPS']) should do it.
Regards,
Jonathan
On Sat, Jan 23, 2010 at 2:11 PM, Ben Miller biprel...@gmail.com wrote:
Is there a PHP function that will return whether the request was http or
https? I have functions that need to cURL other servers - sometimes over
SSL,
On Fri, Jul 10, 2009 at 12:49 PM, Michael A. Peters mpet...@mac.com wrote:
James Colannino wrote:
White space can cause this - make sure your code has ?php as the very top
and ? at the very bottom, or the white space may trigger the web server to
send a header and the white space as data
On Sunday 12 July 2009 12:01:12 Lenin wrote:
On Fri, Jul 10, 2009 at 12:49 PM, Michael A. Peters mpet...@mac.com wrote:
James Colannino wrote:
White space can cause this - make sure your code has ?php as the very
top and ? at the very bottom, or the white space may trigger the web
At 12:09 PM +0100 7/12/09, Ashley Sheridan wrote:
On Sunday 12 July 2009 12:01:12 Lenin wrote:
On Fri, Jul 10, 2009 at 12:49 PM, Michael A. Peters mpet...@mac.com wrote:
James Colannino wrote:
White space can cause this - make sure your code has ?php as the very
top and ? at the
On Fri, Jul 10, 2009 at 12:54 PM, James Colannino ja...@colannino.orgwrote:
Eddie Drapkin wrote:
HTTP headers are sent and finalized after the first bit of output. I
had the same problem before and it turned out to be because I had a
close tag ? at the end of a file followed by some
Zareef Ahmed wrote:
You should get a headers already sent output started at kind of error
if you have enabled error reporting with display_errors ON.
Actually, I did. I just didn't think to mention it in my first post.
The thing was that it said it was coming from one of my includes,
On Sun, Jul 12, 2009 at 11:27 PM, James Colannino ja...@colannino.orgwrote:
Zareef Ahmed wrote:
You should get a headers already sent output started at kind of
error
if you have enabled error reporting with display_errors ON.
Actually, I did. I just didn't think to mention it in my
Eddie Drapkin wrote:
HTTP headers are sent and finalized after the first bit of output. I
had the same problem before and it turned out to be because I had a
close tag ? at the end of a file followed by some whitespace. The
solution was to remove the ? from the end of all the files and I
a single line break after the closing ? will not cause this problem. PHP
interpreter will neglect a single line break after ? a good debugger like
xdebug will be helpful in this case. u can also see the source code of the
file to locate the output. any thing before php warning is the output before
tedd wrote:
At 12:24 AM -0700 7/10/09, James Colannino wrote:
Eddie Drapkin wrote:
HTTP headers are sent and finalized after the first bit of output. I
had the same problem before and it turned out to be because I had a
close tag ? at the end of a file followed by some whitespace. The
Hey everyone,
I've been hard at work on a new web application, and discovered
something that I would never have seen coming. I was noticing that when
I called session_start() after a few lines of includes, I was getting
complaints because the HTTP headers had already been sent out. Then,
after
On Fri, Jul 10, 2009 at 1:21 AM, James Colanninoja...@colannino.org wrote:
Hey everyone,
I've been hard at work on a new web application, and discovered
something that I would never have seen coming. I was noticing that when
I called session_start() after a few lines of includes, I was
James Colannino wrote:
Hey everyone,
I've been hard at work on a new web application, and discovered
something that I would never have seen coming. I was noticing that when
I called session_start() after a few lines of includes, I was getting
complaints because the HTTP headers had already
Am 2009-01-04 09:23:46, schrieb Ashley Sheridan:
On Sat, 2009-01-03 at 23:41 -0800, mike wrote:
I actually use $_SERVER['HTTP_CONTENT_RANGE'] in my setup (nginx +
php-fpm) - I don't think I get an 'HTTP_RANGE' ...
I'm still a little confused on this though. How would a browser send
this to
Hi, Don't know if this is the right group but I am having real problems
trying to connect to my MySQL db with php. I am trying to create a search
form. I can connect and display in my browser a simple call to a db record
but when I try to execute my search script I get a 500 Internal Server
Guys,
I have to access a WS that uses HTTP auth directly with PHP.
I've tried using the usual http://user:[EMAIL PROTECTED]/ but I couldn't get it
working. I believe it has something to do with the password containing a #
(can't change it) and the browser thinks it's an achor or something.
All
Thiago H. Pojda wrote:
Guys,
I have to access a WS that uses HTTP auth directly with PHP.
I've tried using the usual http://user:[EMAIL PROTECTED]/ but I couldn't get it
working. I believe it has something to do with the password containing a #
(can't change it) and the browser thinks it's an
On Wed, Nov 19, 2008 at 11:34 AM, Craige Leeder [EMAIL PROTECTED] wrote:
Thiago H. Pojda wrote:
Guys,
I have to access a WS that uses HTTP auth directly with PHP.
I've tried using the usual http://user:[EMAIL PROTECTED]/ but I couldn't get
it
working. I believe it has something to do
-Original Message-
From: Craige Leeder [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 19, 2008 8:35 AM
To: Thiago H. Pojda
Cc: PHP-General List
Subject: Re: [PHP] HTTP Authentication
Thiago H. Pojda wrote:
Guys,
I have to access a WS that uses HTTP auth directly
On Wed, Nov 19, 2008 at 9:26 AM, Thiago H. Pojda [EMAIL PROTECTED] wrote:
Guys,
I have to access a WS that uses HTTP auth directly with PHP.
I've tried using the usual http://user:[EMAIL PROTECTED]/ but I couldn't get
it
working. I believe it has something to do with the password
On Wed, Nov 19, 2008 at 12:15 PM, Andrew Ballard [EMAIL PROTECTED] wrote:
On Wed, Nov 19, 2008 at 9:26 AM, Thiago H. Pojda [EMAIL PROTECTED]
wrote:
Guys,
I have to access a WS that uses HTTP auth directly with PHP.
I've tried using the usual http://user:[EMAIL PROTECTED]/ but I
-Original Message-
From: Thiago H. Pojda [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 19, 2008 11:47 AM
To: Andrew Ballard
Cc: PHP-General List
Subject: Re: [PHP] HTTP Authentication [ SOLVED ]
On Wed, Nov 19, 2008 at 12:15 PM, Andrew Ballard [EMAIL PROTECTED]
wrote
On Wed, Nov 19, 2008 at 2:49 PM, Boyd, Todd M. [EMAIL PROTECTED] wrote:
-Original Message-
From: Thiago H. Pojda [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 19, 2008 11:47 AM
To: Andrew Ballard
Cc: PHP-General List
Subject: Re: [PHP] HTTP Authentication [ SOLVED
On Wed, Nov 19, 2008 at 12:47 PM, Thiago H. Pojda
[EMAIL PROTECTED] wrote:
On Wed, Nov 19, 2008 at 12:15 PM, Andrew Ballard [EMAIL PROTECTED] wrote:
On Wed, Nov 19, 2008 at 9:26 AM, Thiago H. Pojda [EMAIL PROTECTED]
wrote:
Guys,
I have to access a WS that uses HTTP auth directly with
It appears that PHP can support the PUT method using php://stdin and
appropriately configuring the webserver to accept it.
My company needs a file upload solution that will support large file
uploads (2GB limit is optional - if we have to tell them less than 2GB
that's fine) that will keep
Is this a repetitive thing your clients will do many times? I recently
created a backup solution using ssh keys and the pecl ssh extension to
automate backups. Then a cronjob sorts the files on the server. It's a
lot more secure than allowing PUTs.
Thank you,
Micah Gersten
onShore Networks
On 8/1/08, Micah Gersten [EMAIL PROTECTED] wrote:
Is this a repetitive thing your clients will do many times? I recently
created a backup solution using ssh keys and the pecl ssh extension to
automate backups. Then a cronjob sorts the files on the server. It's a
lot more secure than
'm a total newbie..i just want to know how can i display an http response 200
with this message message successfully sent ...here is my code
?php
if ($status == RETEMP02)
echo Mobile number is empty.;
elseif ($status == RETEMP03)
echo Message is empty.;
elseif ($status == RETEMP05)
echo Message
joaquinbordado wrote:
'm a total newbie..i just want to know how can i display an http
response 200
Don't have time to customize it for you, but that's how it can be done-
header(HTTP/1.0 404 Not Found);
/*
*
* I copied the DOCTYPE from what Apache 1.3.34 returns.
*
*/
echo !DOCTYPE HTML
ryan gacusana wrote:
here is my code
when accessing this url
http://localhost/podcast/podcast.php?mobile=0823172message=2343443=%3Eryan
This runs on your computer, I can't access it.
else
echo Message has been sent successfully.;
// in this part i want to respond with a status of 200,sorry
On Fri, Jun 20, 2008 at 5:35 AM, joaquinbordado [EMAIL PROTECTED] wrote:
'm a total newbie..i just want to know how can i display an http response 200
with this message message successfully sent ...here is my code
HTTP code 200 just means OK. Any successful location and serving
of a web
At 3:57 PM -0400 6/20/08, Daniel Brown wrote:
My preference here would be:
?php
if ($status == RETEMP02) {
echo Mobile number is empty.;
} elseif ($status == RETEMP03) {
echo Message is empty.;
} elseif ($status == RETEMP05) {
echo Message Id is empty.;
} elseif ($status ==
Hi, everyone:
I was wondering if there was any HTTP server written entirely in PHP with
the following features:
1. HTTP/1.1 compliance
2. Apache mod_rewrite-like URL rewrite support
3. Native PHP support ( not through CGI/FastCGI )
4. Support PHP 4.2.0 or above
Nanoweb is an
I was wondering if there was any HTTP server written entirely in PHP
with the following features:
1. HTTP/1.1 compliance
2. Apache mod_rewrite-like URL rewrite support
3. Native PHP support ( not through CGI/FastCGI )
4. Support PHP 4.2.0 or above
Nanoweb is an HTTP
I'm trying to install Pear on OSX, but http://go-pear.org/ doesn't
seem to be resolving. Pear manual states I should:
curl http://go-pear.org/ | php
but this fails and
dig go-pear.org
reveals that the name does not resolve. Is there a package somewehre
I can download and install?
--
PHP
Looking over PHP i can see a web service client
could be written for a
RESTful web service using the curl extension (and perhaps others as well)
because it facilitates an
ability to invoke the HTTP PUT and DELETE methods.
Now, coming to my question.. Looking at the W3C page on the XHTML 1.0
Chris,
thanks for your reply
it sounds like apache does allow the use of a script to handle PUT requests
In fact, Apache handles PUT exactly like it handles the POST method. That
is, it supports it, but in order for it to do anything useful you need to
supply a suitable CGI program.
getting
Re-send to php-general@ since soap@ is a ghost town.
Per the msg below, still trying to figure out why each client call to any
server results in a new TCP socket being built and closed (BAD!)
I finally got around to:
print Request :\n . $soapClient-__getLastRequestHeaders() . \n;
print
Nathan Nobbe wrote:
Chris,
thanks for your reply
it sounds like apache does allow the use of a script to handle PUT requests
If you install the module, yes.
from the sound of it; PUT and DELETE wont work well when using a browser
to interact w/ a server, it seems like they are mostly
Found it:
http://cvs.php.net/viewvc.cgi/php-src/ext/soap/php_http.c?annotate=1.109
Lines 892-895 and 903-905 bring the violence.
Rev 1.28 commented it out:
http://cvs.php.net/viewvc.cgi/php-src/ext/soap/php_http.c?r1=1.27r2=1.28
The bugs assocaited with it are:
im imagining a system using the REST paradigm where a web browser is the
client.
rather than a REST paradigm simply for web services.
-nathan
On 8/14/07, Chris [EMAIL PROTECTED] wrote:
Nathan Nobbe wrote:
Chris,
thanks for your reply
it sounds like apache does allow the use of a
Brian A. Seklecki wrote:
Found it:
http://cvs.php.net/viewvc.cgi/php-src/ext/soap/php_http.c?annotate=1.109
Lines 892-895 and 903-905 bring the violence.
Rev 1.28 commented it out:
http://cvs.php.net/viewvc.cgi/php-src/ext/soap/php_http.c?r1=1.27r2=1.28
The bugs assocaited with it are:
all,
some time ago i read about
RESThttp://en.wikipedia.org/wiki/Representational_State_Transfer
.
at first i thought for web services SOAP is much better for the self
describing feature of the WSDL.
then, reading through the Zend certification preparation book, there was a
section on using POST
Hello,
I have seen some implementations of Server in php implementing HTTP Digest
Authentication but I have not seen any guidelines on HTTP Client connecting
to a specific host, and using the realm, the username and password to get
authenticated and thereby do something like download files etc.
On Tue, January 2, 2007 11:55 pm, Kencana wrote:
I got problem in getting file content. the file is located at another
server
(tomcat) and it is a jsp file.
i don't know why i keep getting the same error message file accessing
that
file but
while i am trying to access to another file, from
hi all,
I got problem in getting file content. the file is located at another server
(tomcat) and it is a jsp file.
i don't know why i keep getting the same error message file accessing that
file but
while i am trying to access to another file, from another server it run
perfect.
this is the
hi all,
by the way, the page that i am trying to get, i can open the page without
any problem
in IE 7 browser.
Thanks
Regards,
Kencana
--
View this message in context:
http://www.nabble.com/http-request-problem-tf2911952.html#a8136297
Sent from the PHP - General mailing list archive at
On 1/2/07, Kencana [EMAIL PROTECTED] wrote:
hi all,
I got problem in getting file content. the file is located at another server
(tomcat) and it is a jsp file.
i don't know why i keep getting the same error message file accessing that
file but
while i am trying to access to another file, from
I wrote my own phpmyadmin from scratch, so far i got this
http://sourceforge.net/projects/dfo/ and i was wondering what i needed
to change so other people would like it too ?
I only have tested it on firefox so for now IE probably doesnt like
dfo at all, sorry i will fix it later for IE 7. And i
Ok, What specific documentation do you want i start with ? i was
hoping it would just work on every firefox and php 5 mysql 5 server
with one small change to the php.ini to disable magic quotes see
http://php.net/manual/en/security.magicquotes.disabling.php
Using it should be quit simple if not
Guys is there a way that I can call the func file(www.url.com) and
get a result true if there is a page and false if the page doesnt
exists (error 404)? the thing is I'm trying to retrieve a page but I
cant be sure that it exists so I need my script to try to access it
and if it cant access it
On 6/7/06, Rodrigo de Oliveira Costa [EMAIL PROTECTED] wrote:
Guys is there a way that I can call the func file(www.url.com) and
get a result true if there is a page and false if the page doesnt
exists (error 404)?
This would work, but will not specifically check for a 404:
$page =
kartikay malhotra wrote:
Hi all!
I use HTTP POST to upload a file. I've a PHP script running on the server.
Are HTTP headers passed with this request? How can I see the headers passed
to the server?
Headers are passed by the client and server with every request. The
Firefox Tamper Data
(sorry for the dup kartikay, forgot to hit reply to all;-)
So is the file going from server to server or from a client machine to the
server? It sounds like server to server - which if that's the case you can
use headers_list() to see what your server is going to be sending out to the
other
Hi all!
I use HTTP POST to upload a file. I've a PHP script running on the server.
Are HTTP headers passed with this request? How can I see the headers passed
to the server?
Thanks
KM
No,
I'm creating remote service and it's returning codes according to passed
parameters. I only wanted to test it using browsers...
I do not care about the output actually, but the status code
B.
It seems to me, that this is more html-related. Maybe the tags in the
html-document screws it
Hi,
I'm using following construction to send http status code
--
header('HTTP/1.1 404 Not Found');
header(Status: 404 Not Found);
exit;
--
MSIE displays Page not found, but FireFox and Opera don't display
anything. Just blank page with no text...
full headers sent by
Are you seeing the IE-specific 404 page? The one that looks like this:
http://redvip.homelinux.net/varios/404-ie.jpg
On 3/30/06, Bronislav Klucka [EMAIL PROTECTED] wrote:
Hi,
I'm using following construction to send http status code
--
header('HTTP/1.1 404 Not Found');
Yes, I do...
B.
Anthony Ettinger wrote:
Are you seeing the IE-specific 404 page? The one that looks like this:
http://redvip.homelinux.net/varios/404-ie.jpg
On 3/30/06, Bronislav Klucka [EMAIL PROTECTED] wrote:
Hi,
I'm using following construction to send http status code
--
Then it's workingFireFox, et. al. show you the server 404, IE on
the otherhand has it's own 404 error page (for those newbies who don't
know what a 404 is). You can disable it under IE options.
On 3/30/06, Bronislav Klucka [EMAIL PROTECTED] wrote:
Yes, I do...
B.
Anthony Ettinger wrote:
In other words, if you want Firefox/Opera/etc to display something, you
have to output something. Strange, that. :P
Jasper
Anthony Ettinger wrote:
Then it's workingFireFox, et. al. show you the server 404, IE on
the otherhand has it's own 404 error page (for those newbies who don't
know
well, you typically would redirect 404 to something like foo.com/404.html
Otherwise, it's whatever your server (apache/IIS) has as the default
404 handler...
Default is something like this:
Not Found
The requested URL /asdf was not found on this server.
The default Apache error handler is not called when PHP sends a 404
header. The code that does Apache error handling happens *before* PHP
gets in the loop, and checks to see if the script being referenced
exists, which it indeed does, whether it sends a 404 header or not.
Tested on Apache 2.2
No,
I'm creating remote service and it's returning codes according to passed
parameters. I only wanted to test it using browsers...
I do not care about the output actually, but the status code
B.
Jasper Bryant-Greene wrote:
The default Apache error handler is not called when PHP sends a 404
hi Jason,
you made the following claim on sitepoint (I would have reacted there
but couldn't be bother to crteate another website account) - which
I think is incorrect:
QUOTE
Nobody has yet brought up the slightly annoying issue that interfaces are actually implmented as abstract classes under
Oscommerce itself hasn't released a new version for an age. I am guessing
their next release will be better. Still ive seen a lot worse... Strange
javascript with frames aggh!
I think it was a quick knock-up job to see if anyone else would buy their
tat. I don't see the google radio they sent me
Looks like google are using PHP and oscommerce for their web store:
http://www.google-store.com
Nice to see :)
James
It would be nice to see them being w3c compliant, but they aren't.
tedd
--
They are using oscommerce specifically. An open source PHP shopping cart.
I have also come accross php errrors when accessing googles suggest feature,
some strange reaction with greesemonkey.
On 1/25/06, tedd [EMAIL PROTECTED] wrote:
Looks like google are using PHP and oscommerce for their web
They are using oscommerce specifically. An open source PHP shopping cart.
ben:
Not that you said or implied otherwise.
soapbox
PHP or not, there's no reason I know of for not complying with w3c --
especially if you're high profile like Google. It's clear that they
are not concerned with
Looks like google are using PHP and oscommerce for their web store:
http://www.google-store.com
Nice to see :)
James
-
http://www.ciwcertified.com - Master CIW Designer
http://www.zend.com - Zend Certified Engineer
I was curious, if have a page at http and it initiates a curl session to a
https, is the information sent secure or open because the the curl session
is from a unecrypted page?
Mark
On Mon, Dec 19, 2005 at 04:01:34PM -0800, Mark Steudel wrote:
I was curious, if have a page at http and it initiates a curl session to a
https, is the information sent secure or open because the the curl session
is from a unecrypted page?
The data sent back and forth to the curl session will
Ave,
I¹m trying to run this very simple HTTP user authentication script:
?php
if (!isset($_SERVER['PHP_AUTH_USER'])) {
header('WWW-Authenticate: Basic realm=Private');
header('HTTP/1.0 401 Unauthorized');
echo 'Unauthorized';
exit;
} else {
Hi Rahul,
Try doing a print_r($_SERVER) to see if the variables are being set.
If they aren't, take a look at the phpinfo(); - chances are your host is
using a CGI binary version of PHP to use together with a security wrapper
like suPHP or phpSuExec, which might throw away the variables that
Ave,
Steve, I did a phpinfo() on my webhost and as it turns out, they are using a
CGI binary version, much to my surprise and dismay.
Anyhow... Do I have any alternatives for an http authentication kind of
authentication ?
Thanks,
Rahul S. Johari
Coordinator, Internet Administration
Informed
hi...
this might not be a php question but might still provide interest...
I'm working on a project, and need to know if there's anyone who's a guru
with Web Server/Client interactions. Basically, I'm trying to get a much
better/deeper understanding of the HTTP protocols defining the information
I find the LiveHTTPHeaders extension for firefox to be very good for
this kind of thing.
http://livehttpheaders.mozdev.org/
It gives you a realistic (as opposed to theoretical) view of exactly
what is being sent between the browser and the server. Networking
details that you listed like the
On Wed, Nov 23, 2005 at 04:53:50PM -0800, bruce wrote:
hi...
this might not be a php question but might still provide interest...
I'm working on a project, and need to know if there's anyone who's a guru
with Web Server/Client interactions. Basically, I'm trying to get a much
Something along the lines of
preg_replace(#(http://|www\.)\S+#, a/a, $line)
I´d have put the proper code in, except that I´m still getting used to
a spanish keyboard layout - and don´t know the layout too well.
Rory
On 7/2/05, timothy johnson [EMAIL PROTECTED] wrote:
I am still writing a
I am still writing a script for my friend he asked me about being able
to scan strings and make any strings that have http links in them,
able to be an anchor in a broswer, as I am sure I am not the first to
do this, any one have any ideas??? I am on php.net looking thru the
functions see lots of
On Thu, June 9, 2005 7:43 am, Joe Harman said:
I am having a little problem with users keeping the same session id
when they go from http to https... is there a work around for this...
I don't appear to have this problem when using openSSL just when the
site has it's own certificate.
should
On 6/11/05, Joe Harman [EMAIL PROTECTED] wrote:
On 6/11/05, Richard Lynch [EMAIL PROTECTED] wrote:
On Thu, June 9, 2005 7:43 am, Joe Harman said:
I am having a little problem with users keeping the same session id
when they go from http to https... is there a work around for this...
I
Hey ladies gents
I am having a little problem with users keeping the same session id
when they go from http to https... is there a work around for this...
I don't appear to have this problem when using openSSL just when the
site has it's own certificate.
should I store the session id in a
Dear php users,
I've been working on a project which needs to get the raw post content from the
http request.
Unfortunately,I can't get the content with $HTTP_RAW_POST_DATA variable.
My php version is 4.2.2. My OS is rh linux9.0. And I've turned the global
variable tag.
Any hints would be
wrote:
Dear php users,
I've been working on a project which needs to get the raw post content from
the http request.
Unfortunately,I can't get the content with $HTTP_RAW_POST_DATA variable.
My php version is 4.2.2. My OS is rh linux9.0. And I've turned the global
variable tag.
Any
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi to you all.
I've been pulling my hair out over this issue and I really hope YOU can
help me. A part of the website that I'm having the problems with should
be password protected (nothing much, just to have a slight notion of it
not being publicly
On Mon, 28 Feb 2005 15:35:36 -0700, Suhas [EMAIL PROTECTED] wrote:
Hi
This issue has been discusses many times before, but no perticular
solution found.
Things to check when 'including' with http:
i) Can the server resolve the host name? Eg - if, from the server,
you run 'ping
Hi
This issue has been discusses many times before, but no perticular
solution found.
include '/www/.../file.php' = works fine
include 'http://google.com/' = works fine
include 'http://myserver.com/file.php' =
Warning: main(http://myserver.com/file.php): failed to open stream:
Suhas wrote:
Hi
This issue has been discusses many times before, but no perticular
solution found.
include '/www/.../file.php' = works fine
include 'http://google.com/' = works fine
include 'http://myserver.com/file.php' =
Warning: main(http://myserver.com/file.php): failed to
ok, so i made a file manager and i need to prevent people from linking
directly to files that do not come from another part of the site.
i know i can use http_referer, but i wonder how fool proof it is, i dont
want to spit out errors to a legit user that actually came from a valid page
before
- Original Message -
From: Sebastian [EMAIL PROTECTED]
To: php-general@lists.php.net
Sent: Saturday, February 26, 2005 8:31 PM
Subject: [PHP] http referer
ok, so i made a file manager and i need to prevent people from linking
directly to files that do not come from another part
1 - 100 of 393 matches
Mail list logo