--- Jim Lucas <[EMAIL PROTECTED]> wrote:
> what about checking the checking the remote ip
> address?
The common use of HTTP proxies on the Web makes this
extremely unreliable.
A typical HTTP proxy servicing many users will cause them
all to appear to be coming from the same IP address, while
roun
--- Mike Smith <[EMAIL PROTECTED]> wrote:
> I'm trying to present a phone directory in a
> printable format that will make "most" people
> happy. What I need to do is take the results
> from our database and "break" it into two
> tables.
I can't really tell what you are trying to do, but it
sounds
--- Patrick <[EMAIL PROTECTED]> wrote:
> i want my page to send a report to a url, like a
> form. Is that possible thru php?
Sure. For the GET method, you can just use something like
fopen() to open the URL. For the POST method, you can try
something like this:
http://www.php.net/";>
Chris
--
--- Mike Potter <[EMAIL PROTECTED]> wrote:
> I am using Microsoft IIS with the latest PHP installed.
> Here's a smple:
>
> setcookie("testCookie", "testValue", time() + 3600, "/");
> header("Location: http://newpage.php";);
> exit;
This will not work with IIS. You need to use a meta refresh
or so
--- Hatem Ben <[EMAIL PROTECTED]> wrote:
> something that can create binary executable code
> from any php script.
See if this can fulfill your needs:
http://pear.php.net/package-info.php?pacid=95
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
--- Henry <[EMAIL PROTECTED]> wrote:
> I'd like to implement ONE USER SIGNIN at the same time,
> the way I consider about is below:
> 1 record the sessionId and userId in some media(db),
> then we'll know who is login and who is not
> 2 use a demon program to determine whole sessionId
> which is li
--- Henry <[EMAIL PROTECTED]> wrote:
> what I want to do is make sure one account can login
> in at the same time
I understand now, with Jason's help.
> is there any mechanism in PHP can slove it?
Well, not exactly. You see, this is a rather strange
restriction (or seems strange to me at least).
--- Jan Grafström <[EMAIL PROTECTED]> wrote:
> I want php to print " \tab"
echo " \\tab";
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
John,
I am not an expert of copyright law and licenses, but this
URL might help you answer some of your questions:
http://www.gnu.org/licenses/gpl-faq.html
Specifically, look at the questions under the heading,
"Combining work with code released under the GPL", as they
seem to be exactly what yo
--- "Clarkson, Nick" <[EMAIL PROTECTED]> wrote:
> I am trying to find the best method for implementing
> sessions in PHP to track/limit users. However, the
> more I read, the more I am concerned about security.
> Can anyone give me a definitive answer as to the best
> method of tracking users with
--- SpyProductions Support Team
<[EMAIL PROTECTED]> wrote:
> I am having some issues, apparently, with URL encode.
...
> Oh, and BTW, I do use urldecode(). :)
If you are using URL encode in order to pass values on the
URL (and then reference them as $_GET['blah']), then URL
decoding is superfluou
--- SpyProductions Support Team
<[EMAIL PROTECTED]> wrote:
> So what is the decode part for then? Earlier versions of
> PHP?
No, it is for decoding URL-encoded strings, just as you
would expect.
The reason you do not need to decode URL variables is
because they are not URL-encoded by the time yo
--- Bob Lockie <[EMAIL PROTECTED]> wrote:
> On 01/22/03 23:22 John W. Holmes spoke thusly
>
> > Pretty sure this is an Apache2/PHP bug. It was
> > discussed on here in the past few days.
> >
>
> I tried Apache 2.0.44 and PHP 4.3 and it still doesn't
> work. :-(
Apache 2.0.44 == Apache2
Chris
--
--- "Jed R. Brubaker" <[EMAIL PROTECTED]> wrote:
> I am having a problem with reseting my query results. I
> want to take $results and have it spit it out line by
> line - but twice.
http://www.php.net/manual/en/function.mysql-data-seek.php
Chris
--
PHP General Mailing List (http://www.php.net/
--- Karina S <[EMAIL PROTECTED]> wrote:
> >
Try this instead:
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- "Sabina A. Schneider" <[EMAIL PROTECTED]>
wrote:
> I don't want to take much time, but I'm
> still having problems with cookies
Sabina,
First, to answer your question of path, you should start
with / as it is the least restrictive. You can always try
restricting cookies per directory later, b
--- Pag <[EMAIL PROTECTED]> wrote:
> What do i use to authenticate the user on my site?
> Sessions?
No, authentication is something you do. PHP's sessions help
you keep up with persistent data associated with a user.
There are some things in PEAR (http://pear.php.net/) that
handle authentication
--- "K.C.P. van Zijl" <[EMAIL PROTECTED]> wrote:
> Is it possible in PHP to determine the IP address
> of a server which is requesting a page from my own
> server? When I use $REMOTE_ADDR, I get the wrong IP
> address. In that case I get the IP address of a
> person who is requesting the page on th
--- Martin Towell <[EMAIL PROTECTED]> wrote:
> if it's just the string after the ? then use
> $QUERY_STRING can't remember which $_* variable
> it's under...
$_GET is the superglobal array for URL variables.
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://w
--- Tim Haskins <[EMAIL PROTECTED]> wrote:
> I am crossing over from ASP to PHP and was
> wondering how to get the same affect as
> request.questring?
If your URL is:
http://example.org/foo.php?bar=hello
Then you can use $_SERVER['QUERY_STRING'] to get:
bar=hello
or you can use $_GET['bar'] to
--- news <[EMAIL PROTECTED]> wrote:
> Sessions aren't getting set.
>
> my parent frame is on xyz.com A frame on xyz.com
> loads a frame that contains a page on foo.com the
> page on foo.com start a session and sets a variable.
>
> but the IE does not accept this session.
>
> I've loaded this pag
--- Guru Geek <[EMAIL PROTECTED]> wrote:
> Does anyone out there have any working examples
> of a PHP based CMS?
http://freshmeat.net/search/?q=PHP+CMS§ion=projects
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- Lee Herron <[EMAIL PROTECTED]> wrote:
> I'm interested in how most would create a transition
> page..
One thing you might consider is using flush() to output
what you have so far to the browser rather than sending
them to another page when you're done. An example of
something to output might b
--- Tommy Jensehaugen <[EMAIL PROTECTED]> wrote:
> I have protected a folder on my apache server with a
> username and password. When I browse to this folder
> I get a popup to type my name and password in(
> automatic popup by internet explorer or something ).
> My question is, how do I log out? I
--- Greg <[EMAIL PROTECTED]> wrote:
> Hi, I have a form with an IFRAME nested in it. When
> the form is submitted, I can't get the values of the
> checkboxes in the IFRAME, is there any way to do
> this?
Well, I think (I could be wrong) you're looking at this
wrong.
Forms submit to resources iden
--- Scott Fletcher <[EMAIL PROTECTED]> wrote:
> Found a PHP bug
...
> if ($month == 01)
I guess you mean:
if ($month == '01')
If so, this is not a bug. Otherwise, please explain what
you think is wrong.
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.
--- Scott Fletcher <[EMAIL PROTECTED]> wrote:
> Double and Float are not exactly the same thing.
>
> Double is ---> 11.123
> Float is --> .00238823993
They are the same thing. Please, read this:
http://www.php.net/manual/en/language.types.php
and this:
http://www.php.net/manual/en/language
--- "Patricio Vera S." <[EMAIL PROTECTED]> wrote:
> I new to the php world ant the image too, and I need
> modify the header information in a JPEG image file,
> is that possibly? How?
Those are EXIF headers. I am not sure if there is support
for modifying them (aside from doing it manually yoursel
--- Chris Shiflett <[EMAIL PROTECTED]> wrote:
> --- "Patricio Vera S." <[EMAIL PROTECTED]> wrote:
> > I new to the php world ant the image too, and I need
> > modify the header information in a JPEG image file,
> > is that possibly? How?
>
>
--- Paul <[EMAIL PROTECTED]> wrote:
> Using a fairly simple fsockopen and POST I'm sending
> form data to a script which populates fields in a
> database. Everything works fine, however I've been
> trying to figure out how to send a value set on the
> other machine (database) back through the open
--- Petre Agenbag <[EMAIL PROTECTED]> wrote:
> I have a rather annoying problem regarding forms.
> I have built an app that allows the users to fill
> in a rather large form (much like a claim form)
> and then have the data pumped into a mysql db.
> The problem is: the users want to be able to
> "
--- Petre Agenbag <[EMAIL PROTECTED]> wrote:
> This is exactly what I'm looking to do; but my problem
> remains: I don't know what the best solution is. The
> problem is clear: the users actually need an electronic
> copy of the data they submit; they must revisit certain
> issues annually, and wou
--- Paul <[EMAIL PROTECTED]> wrote:
> Can you fill me in on the syntax here? How would you
> write the fgets statement and how would you define
> and populate the return value on the other end?
Maybe this example will help. This searches PHP's site for
curl, outputting the HTTP content to the scre
--- Alexander Skwar <[EMAIL PROTECTED]> wrote:
> So sprach 1LT John W. Holmes am 2003-01-27 um 15:49:33
> -0500 :
> > Actually, "08" is equal to 8 in PHP. PHP will convert
> > the string to an
>
> No, that's not true:
>
> if ("08" == 8){ echo "equal"; }
> if ("08" === 8){ echo "more equal"; }
>
--- Dara Dowd <[EMAIL PROTECTED]> wrote:
> I have the following headers in download.php which forces
> a download dialog box to be opened when a user clicks on
> a desired file:
>
> header("Content-type: application/octet");
> header("Content-Length: $filelength");
> header("Content-Disposition: a
--- Jan Mikes <[EMAIL PROTECTED]> wrote:
> do anyone know where I can get a full list of
> $HTTP_USER_AGENT strings ??
There is no such thing.
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- Todd Barr <[EMAIL PROTECTED]> wrote:
> I am having an issue. I am using an access database,
> where the names have whitespace.
>
> Now, when I try to generate a link within the php
> script I get just their first name
>
> But in the link itself I get the whole name
So, you are talking about
--- Stephen <[EMAIL PROTECTED]> wrote:
> MySQL was setup as a socket connection instead of TCP.
> How can I change that for his installed scripts to work?
What in the world are you talking about? Might I suggest:
1. Don't try to assume you know what the problem is unless
you do. Just explain what
--- Guru Geek <[EMAIL PROTECTED]> wrote:
> I was wondering, can you call a php script in the middle
> of a html page?
...
> Does anyone else know how to use php on a page and yet
> keep the .html extension?
Configure your Web server to treat .html files as PHP. This
has been discussed before, so t
--- Victor <[EMAIL PROTECTED]> wrote:
>
...
> The problem is that since the file createjpg.php is'nt
> loaded in the browser as and ordinary file, it doesnt
> recognizes the session variable.
When a browser requests an image, the request is identical
to a request for any other resource, be it a .
--- Victor <[EMAIL PROTECTED]> wrote:
> I ask this function to return the value of a specifik
> session, that is, if the user is logged in the value
> is at least 10.
...
> this means, that if the user is not logged in, a
> copyright © sign will appear over the image.
>
> And this fails
Don't k
--- Lon Lentz <[EMAIL PROTECTED]> wrote:
> Is there a PHP version of the ColdFusion tag ?
It has been a while since I wrote CF, but I believe
just does the same thing as something like this:
The PHP equivalent of this example is:
if (!isset($foo))
{
$foo = 'default';
}
Chris
--
PHP
--- Renato Lopes <[EMAIL PROTECTED]> wrote:
> Every time I point my browser to that directory the
> contents of the directory gets displayed instead of
> the index.php file.
It would help if we knew what Web server, but I will assume
Apache and hope for the best.
Locate your httpd.conf file, and
--- Anthony Ritter wrote:
> I installed mysql 3.23.55 and wanted to check the user
> table in the mysql db.
>
> The query was:
> SELECT User FROM user WHERE host='localhost';
This is a PHP list. There are mailing lists for MySQL that
you should check out if you are having trouble
understanding da
--- Cditty <[EMAIL PROTECTED]> wrote:
> A co-worker is teaching me to move to the next level
> in php. I have started using associative arrays for my
> scripts, but I am having a problem using them to do an
> insert into MySQL. Can someone give me an example of
> how to do an insert to the database
--- Todd Barr <[EMAIL PROTECTED]> wrote:
> I am having difficulty putting results into an form
>
> Once the query runs, I have this for my output
>
> print "";
>
> This results in an HTML error
>
> being apache finds an error AFTER the tag
>
> Any ideas?
My idea is that your error has nothi
--- "arthur.chereau" <[EMAIL PROTECTED]> wrote:
> That's right, but with curl it's not a true redirection:
> you just print the content of the target page, you don't
> redirect to the page.
>
> What I need is "automated forms", that send the same
> data as forms but without user interaction. I can
--- "Ian M. Evans" <[EMAIL PROTECTED]> wrote:
> How do you handle accented words and other problematic
> symbols on your database-driven sites? If you need to
> store one, do you store it as the actual character and
> display it with htmlentities, or do you store it as the
> html entity?
Most peop
--- Brian Dunning <[EMAIL PROTECTED]> wrote:
> All I'm trying to do is check for the presence of a
> query string, but everything I try gives me an
> Undefined Index error.
...
> http://www.mysite.com/index.php?page=hello
>
> if (is_object($_REQUEST['page']))
> $pagename = $_REQUEST['page'];
>
--- Chris Winters <[EMAIL PROTECTED]> wrote:
> If you by chance come across a secure area that prompts
> the username and passcode to a folder
Can you rephrase that? I can't tell what you are talking
about. Does a separate window pop up prompting for a
username and password, or is this part of the
--- Jonathan Wright <[EMAIL PROTECTED]> wrote:
> i'm having problems with sessions. I've set up the server
> (httpd-2.0.44) with php (4.3.0) and switched on sessions.
I would recommend not using Apache 2 with PHP right now.
Stick with the latest stable 1.3.x version.
Chris
--
PHP General Mailin
--- Mike Tuller <[EMAIL PROTECTED]> wrote:
> I click on the link and it adds the id number
> to the url like this:
>
>
>
>$row[asset_id]
>
>
I think you want to have something like:
everywhere you currently have $row[asset_id].
> $query = "select * from assets where asset_id =
>
--- Chris Winters <[EMAIL PROTECTED]> wrote:
> So, if one was to protect a directory or folder, a
> regular dialog will appear for username and passcode
> prompt within the web browser. I was researching some
> variables that I came across which is called
> $PHP_AUTH_USER, $PHP_AUTH_PW, and $PHP_AU
> There is a way to supposedly do this by authenticating
> a username and password through php first through such
> methods as database lookups and then passing the
> username and password through $PHP_AUTH_USER and
> $PHP_AUTH_PW using the header() command to point to the
> URL of the .htaccess pr
--- Randum Ian <[EMAIL PROTECTED]> wrote:
> Please can someone direct me to the correct function
> that changes http://www.foo.com to href="http://www.foo.com";>http://www.foo.com
> for any occurence in a string.
Sure
http://www.google.com/search?hl=en&lr=&ie=UTF-8&oe=UTF-8&safe=off&q=PHP+makin
--- Miles Thompson <[EMAIL PROTECTED]> wrote:
> Ananth,
>
> For starters, you are probably on the wrong list -
> the PHP developers list is probably where you should
> be asking this question.
Please do not go around saying this. We have enough
problems with these types of posts winding up on php
--- The New Source <[EMAIL PROTECTED]> wrote:
> I´d like to know how to get certain headlines from
> another site.
Research RSS.
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- Sunfire <[EMAIL PROTECTED]> wrote:
> how would you use an if..else statement to test a
> query in mysql to see if it was successfull or not?
Depends on what database server you are using. Here it is
in MySQL:
if (mysql_query($sql))
{
echo "Success";
}
else
{
echo "Failure";
}
Chris
--
> * if the update does not have anything to work on
> it does not mean it is a failure! except when you
> EXPECTED it to update something.
Right, and the function doesn't care what you expect
anyway. :-)
> * i'm not sure whether "if ($query)" is the proper
> way to check this. for trapping d
--- Al <[EMAIL PROTECTED]> wrote:
> Why does the absolute path work and not document_root?
>
> include ("$DOCUMENT_ROOT/root_functionsT.php");
> //error message says function undefined
>
> include ("/www/r/myID/htdocs/root_functions.php");
> // Works just fine
Try $_SERVER['DOCUMENT_ROOT'] and s
--- Adam Williams <[EMAIL PROTECTED]> wrote:
> Is it possible to have PHP read cd label information?
Yes.
I have never done this myself, but I know of at least one
or two open source projects that read information such as
that from a CD. They usually go one step better and
communicate with opendb
--- Daniel Joyce <[EMAIL PROTECTED]> wrote:
> Problem is, if the image takes more than 1-2 seconds
> for JPGraph to create, I get a broken image link in IE,
> and a blank image area in Mozilla. They're not waiting
> long enough for the image generation to finish
How certain are you that this is th
--- Sunfire <[EMAIL PROTECTED]> wrote:
> you can do:
> echo << //any valid html code here
>
> BLOCK;
No, he needed to output $sent, which is dynamic.
Also, it is a lot cleaner (and likely faster) just to use
to switch in/out of PHP as needed. If
you're writing a bunch of static HTML, there's no
--- Shawn McKenzie <[EMAIL PROTECTED]> wrote:
> I want to pass vars to another site but I don't want
> to use a form. How can I pass these vars to another
> site without the vars being shown in the URL.
That question is far too vague in terms of who needs to be
passing data where. If you want to p
--- Sunfire <[EMAIL PROTECTED]> wrote:
> on any server i ever dealt with if i put:
> >
> in the edit box for the value i always always end up
> with way i found it to work is with echo <<< but maybe im
> missing something
You are "missing" correct PHP syntax and correct HTML
syntax, so I guess th
--- Brad Esclavon <[EMAIL PROTECTED]> wrote:
> the secured page is viewable from the internet if i
> explicitly enter the url. I have set the secured
> page's permissions to 700 and the input page to 755.
> even though my permissions disallow outside access,
> why can you get to the secured page?
--- Pushpinder Singh Garcha <[EMAIL PROTECTED]> wrote:
> i wanted to check with if it is possible to see the
> contents of a .php file.
You can open any normal PHP script in a text editor.
> I have heard of the Zend Encoder, but I was wondering
> how could a person see my php script?
If you use
--- "Reuben D. Budiardja" <[EMAIL PROTECTED]>
wrote:
> I browse the archive and found the following code to
> simulate a POST request using socket connection. This
> will send a request to my own server (localhost). And
> then, I also have the second code (included) for
> /devel/php_post.php, which
--- anders thoresson <[EMAIL PROTECTED]> wrote:
> Which is more efficient:
Your first method is more efficient according to my quick
test, though I find myself preferring the second when I
write code due to the readability advantages. The
difference is small, however. Here is the code I used to
te
--- Chris Shiflett <[EMAIL PROTECTED]> wrote:
> Your first method is more efficient according to my
> quick test, though I find myself preferring the second
> when I write code due to the readability advantages.
The results went the other way when I tested this using
mod_php rath
--- Daevid Vincent <[EMAIL PROTECTED]> wrote:
> Fatal error: Call to undefined function: floatval()
> in /home/dae51d/public_html/examples/echotest.php on
> line 14
Please try to make an effort and do a little research of
your own before asking the list:
http://www.php.net/manual/en/function.floa
--- Hardik Doshi <[EMAIL PROTECTED]> wrote:
> What is the difference between PHP nuke and Smarty
> engine?
A better question would be what is the similarity. Smarty
is a template engine. PHP Nuke is an application written in
PHP.
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubs
--- Jeremy Bowen <[EMAIL PROTECTED]> wrote:
> I am modifying some else's script I added some rows to
> the myself database and no I get this error when I try
> to add information to the database.
Most likely, the SQL statement in question is something
like this:
insert into foo values ('bar', 'ph
--- Daniel Page <[EMAIL PROTECTED]> wrote:
> If someone wants to call your .inc file like
> http://www.my.site/lib.inc they will see the code,
> as it is a text file. OK, we all know that.
No, we don't, because that is not entirely correct. There
are many cases where your Web server will not serve
--- Chad Day <[EMAIL PROTECTED]> wrote:
> if (!isset($startlimit)) {
> $startlimit = 0;
> }
>
> $endlimit = $startlimit + 10;
>
> $yourquery = "your query data LIMIT $startlimit,
> $endlimit"
>
> that should give you enough insight on how to work it.
Nice example.
As an interesting tidbi
--- Sunfire <[EMAIL PROTECTED]> wrote:
> so the $delete is blank for some reason... is it
> possible that submitting a variable from 1 form
> to another that some wont get carried over?
No. It might help to read this:
http://www.php.net/manual/en/security.registerglobals.php
Chris
--
PHP Gener
--- Sunfire <[EMAIL PROTECTED]> wrote:
> in the form that submits the $delete var add this:
>
> now in query change $delete to $flag_delete... and poof
> it magically works
It's not magic, and John Holmes already explained it to
you.
If you do not pass a variable via GET, POST, or as a
cookie, a
--- [EMAIL PROTECTED] wrote:
> How can I do this to determine if one of the items is
> false if none are then I what it to print the first
> echo of there is one that is false then print the
> second echo
Sorry, that makes no sense to me.
> $test1= "YES";
> $test2= "YES";
> $test3= "YES";
> $test
--- Daniel Page <[EMAIL PROTECTED]> wrote:
> Would it be possible to store PHP code in a MySQL table,
> then via a web page, connect to the DB, recover the code
> that corresponds to a certain id number, then include
> that code for execution?
Yes, and since your example demonstrates that you know
--- Sunfire <[EMAIL PROTECTED]> wrote:
> i need to have the date and time of the event checked
> so when cron runs if the posted event is on 2003-02-11
> 15:00:00 for example then at 24:00:00 that day cron will
> delete that record because it isnt needed anymore
Work on creating a script that you
--- Marek Kilimajer <[EMAIL PROTECTED]> wrote:
> Simple answer is - use GET method instead of POST for
> your searches
--- Vernon <[EMAIL PROTECTED]> wrote:
> When I do that I get syntax errors in the SQL
That obviously has nothing to do with what request method
you are using. You need to give mo
--- Christopher Ditty <[EMAIL PROTECTED]> wrote:
> This script, among other things, FTPs a text file from a central server.
> When we tried to run my script, it simply stops. No errors, no nothing.
> I talked to his host and found out that they do not allow PHP FTP because
> it is a security risk.
--- Fireborn Silvaranth <[EMAIL PROTECTED]> wrote:
> I'm trying to grab a number (sessionNum) out of a text file and increment
> it whenever someone leaves and comes back to the site.
How about this:
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php
Hello Lindsey,
I am posting this to [EMAIL PROTECTED] for you. The php-dev list is for
the development of PHP itself, not for user questions.
Also, as a guess to your problem, when you include a resource by URL, you are
going to receive the same output that a browser would (when you view source),
--- Chris Kay <[EMAIL PROTECTED]> wrote:
>
> Something like this perhaps untested
>
> function insert($query) {
> // Connect info
> mysql_connect("host","user","pass");
>
> // Select DB
> mysql_select_db("DBname");
>
> // Perform insert
> $ind
--- drparker <[EMAIL PROTECTED]> wrote:
> i need to escape all my apostrophes in values submitted to a mySQL
> database.
http://www.php.net/manual/en/function.addslashes.php
> is there a way i can loop thru all the post variables and replace the
> apostrophes?
Read about the magic_quotes setting
--- [EMAIL PROTECTED] wrote:
> I have an ecommerce app (MAS200 eBusiness Manager) that works. I am
> updating my web site to php frames.
There is no such thing. Perhaps you mean HTML frames?
> Now when I want to connect to the eBusiness Manager server I get this error:
>
> Unsupported Browser
>
--- Chris Hayes <[EMAIL PROTECTED]> wrote:
> At 15:33 19/02/03, you wrote:
> >I have a script which adds header information to a different page, on my
> >server I get a Cannot add header information - headers already sent by.
> >But on other servers it works fine, does any1 know why??
>
> Are yo
--- Daniel Guerrier <[EMAIL PROTECTED]> wrote:
> Is there any to redirect in php with using header()
> and without the use of javascript?
Yes:
header('Location: http://www.php.net/');
If we are meant to answer your subject and not your message, then use a meta
HTML tag.
Chris
--
PHP General M
--- Sam Minnee <[EMAIL PROTECTED]> wrote:
> I'm having a couple of problems getting PHP to accept my post data.
> Specifically, the data I am sending is not with POST, put with PUT and
> PROPFIND. I'm implementing WebDAV within PHP.
>
> How to I get PHP to set $HTTP_RAW_POST_DATA for all methods
--- Joseph Bannon <[EMAIL PROTECTED]> wrote:
> 1) How are sessions different from cookies other than
> where the information is stored?
Cookies are a state management mechanism. PHP's session management (depending
on how it is configured, of course) uses either cookies or URL variables for
maintai
--- George Pitcher <[EMAIL PROTECTED]> wrote:
> Writing to a file id not permitted before creating the header for the
> redirect.
>
> can anyone suggest a workaround.
Have you tried it? I'm not sure who told you this, but they are wrong.
Chris
--
PHP General Mailing List (http://www.php.net/)
--- David Banning <[EMAIL PROTECTED]> wrote:
> The company I am working with is using an old database, which
> doesn't even support memo field beyond 256 characters, so it is probably
> too difficult, and not worth trying to interface the database with php.
>
> I was wondering how easy it would b
--- Jay Paulson <[EMAIL PROTECTED]> wrote:
> I was running fileperms() function to find out what a directory is
> chmod'ed to.
Just so you know, chmod is "change mode". I understand what you mean, though;
you are wanting to know the permissions of a directory.
> However, this doesn't return anyth
--- Christopher Hilling <[EMAIL PROTECTED]> wrote:
> Hi - I am trying to find an application which has the following creditials
>
> Version control - including extensions
> Bug reporting - including email submission
> Forum - for multiple projects
> Mailing list - for multiple projects
> Language
--- Anthony Ritter <[EMAIL PROTECTED]> wrote:
> Yes Adam.
> Any ideas?
>
> TR
Please write emails that make sense if you are going to send them to the entire
list. I have noticed a few of these "me too" type of emails today.
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscrib
--- Anthony Ritter <[EMAIL PROTECTED]> wrote:
> Fine Chris.
>
> Maybe you'd be kind enough to explain how I can get that function to work.
This is an example of what I am talking about. I would love to help, but you
are leaving out way too much information. What function? Why do you think it
does
--- Bryan Koschmann - GKT <[EMAIL PROTECTED]> wrote:
> Does anyone know a way to do this easily? I have a script that pretty much
> says "this is due on the first of next month" but I would like it to
> actually use the correct date.
Well, you need:
1. The day of the month, which is always going
--- Anthony <[EMAIL PROTECTED]> wrote:
> This isn't necessarily PHP specific, but I'm looking for more
> information on HTTP headers. I'd like to know what headers I
> should send and why.
That is an admirable desire, and I wish more developers sought the same
knowledge. You can learn more about
--- Ray Hunter <[EMAIL PROTECTED]> wrote:
> Does anyone know if the local values for the php.ini directives
> have presidence over the master value?
Yes, and yes.
Chris
=
Become a better Web developer with the HTTP Developer's Handbook
http://httphandbook.org/
--
PHP General Mailing List (
101 - 200 of 1546 matches
Mail list logo