Closing the browser sends nothing to the webserver and with most webservers,
the server has forgotten that you were ever there.
When using sessions, you connect your browser and request a page, and that
request is accompanied with a session key that is stored in a cookie on the
browser machine by
Okay, lemme see if I understand how it works. Even if it sees it as
garbage, it will not destroy it until the session has ended? or will
destroy when that time is reached? So can I set
session.gc_maxlifetime
to be a low number (e.g., 10 seconds) and it will still behave
appropriately?
not sure if this is a stupid question,
but im looking for a person or a place that will check or try
to break a site.
Does sound a little like walking into a tough bar with a gun looking for
someone to shoot you, but while I would be tempted to lurk around these
guy's a little to figure
http://www.meetup.com is a website that has been around a couple of years at
least, and provides lots of organization tips for groups interested in most
subject and yes there is a whole series of them oriented around PHP, and I
believe another around MySQL. Promote, promote, promote, seems to be
I believe that is the nature of GIF images, I seem to recall they were very
compact but limited to a maximum of 16 colors (or 32 or some number like
that[maybe 64]), fewer colors that JPEG. Anyone know exactly?
Warren Vail
-Original Message-
From: Juan Nin [mailto:[EMAIL PROTECTED]
I suspect that you don't really want to cut out everything but the text
(since you plan to display it) but check out;
http://us2.php.net/manual/en/function.strip-tags.php
Now, keep in mind that since you are getting the source from the url, and
I'm guessing that the web server serving up the
Oops missed part of your question;
know what function to use to grab the page. for the string
http://us2.php.net/manual/en/function.fopen.php
There are some good samples on the page
$dh = fopen($url,'r');
$result = fread($dh,8192);
Hope
I can't help but wonder if an ip trace rte could be used to help identify
the ISP? Or Perhaps using a whois,,, doesn't some versions of whois use IP
address? Intriguing question,,,
Warren Vail
-Original Message-
From: John Nichel [mailto:[EMAIL PROTECTED]
Sent: Thursday, December
There is another similar editor called htmlarea.
http://www.interactivetools.com/freescripts/
My impression was that htmlarea might be a little more extensible. (Image
manager, Table Managers, Multiple languages, etc).
Warren Vail
-Original Message-
From: Ryan A [mailto:[EMAIL
Sure, I added it to a PHPNuke site (among others). Check out
http://www.phppilot.com/nuke/html/modules.php?name=Submit_News
Warren Vail
-Original Message-
From: Ryan A [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 07, 2004 10:56 AM
To: Vail, Warren
Cc: [EMAIL PROTECTED
. On IE works just fine. Guys from
InteractiveTools buit beta version 3 that covers most of
browsers (didn't check/use).
FCKeditor has some bugs on FireFox as well. Didn't check on Netscape.
-afan
Vail, Warren wrote:
Sure, I added it to a PHPNuke site (among others). Check out
, and that
would be a shame.
Warren Vail
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 07, 2004 11:37 AM
To: [EMAIL PROTECTED]
Cc: Vail, Warren
Subject: RE: [PHP] FCK Editor
It worked on my IE and I don't have .NET Framework
Could be a problem of multiple update modules for the same table. When I've
encountered this problem in the past it's been one of two causes.
1. In the process of maintaining the table one routine that has no price
information, retrieves the row and notices that the something needs to be
Another option would be to open the file with a http protocol reference.
PHP can access files specifying a URL, and if pointing to your current
domain it should work.
http://www.php.net/manual/en/function.fopen.php
I.e. $fh = fopen(http://www.mydomain.com/filea.txt,r;);
You should also be able
Assuming you want to show the template file text contents and not have the
file translated in any way in the iframe, you might check out;
http://www.php.net/manual/en/function.htmlspecialchars.php
If on the other hand you just want to show the translated template,, then
you want to point your
If your php form is entered via a post, my experience is that most browsers
do not save post information, therefore, clicking back to a page that was
entered via a form using the post method, the browser complains that it does
not have enough information to display the form, and that you must
Take a timestamp at the beginning or your script and at the end (subtract)
and you have the execution time (reasonably precisely) plus or minus a few
microseconds.
http://www.php.net/manual/en/function.microtime.php
Warren Vail
-Original Message-
From: Peter Lauri [mailto:[EMAIL
But I want a redirect button so I could send the exact same
message to
the same user and from the same person just but to another
mail box on a
different machine.
Not sure I've ever hear the term redirect used in reference to email.
Understand that email cannot be received on just any
]
Sent: Wednesday, December 01, 2004 7:48 PM
To: Vail, Warren; [EMAIL PROTECTED]
Subject: Re: [PHP] PHP mail redirect ??
Hello,
There is another smtp server ... I should of provided
more info ...
I set up a postfix server to do the following:
1. Receives mail from outside
PHP has wonderful capabilities to generate images on the fly, such that they
are never stored on disk, perhaps you should look into that as an option,
you could even make the code decide who should be able to see the image and
who should not.
http://www.php.net/manual/en/ref.image.php
Warren
Because you can have more than one submit button per form?
Warren Vail
-Original Message-
From: Perry Jönsson [mailto:[EMAIL PROTECTED]
Sent: Monday, November 22, 2004 12:56 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] $_POST['xxx'] = blabla ?
Gerhard Meier wrote:
On Mon, Nov
Sure,
1. In PHP/Mysql extract rows and save them to a file in delimited fashion,
for numeric values be sure to align all the number digits (cobol is
dependent on numeric fields being aligned), you can do this with
sprintf(%09.02f,$dbfloat);
Your delimiter character can be any character that
I want to write php script that fill out HTML form online.
Any ideas how to do it?
I'm probably reading too much into your question, but it sounds like there
is another website with a form on it, and you would like to develop a script
that would connect to the website, fill in the information
Because among 17 million installed domains, and because the Open Source is
open, someone in those 17 million domains will keep it going.
http://www.php.net/usage.php
Some people never get it, you confuse them with too many facts, hope your
manager has an open mind.
Warren Vail
-Original
Hard code the array occurrence number in the checkbox and textbox names;
input type=checkbox name=url[1] value='http://somesite'
checked a href='http://somesite' target=asomesite/a
brinput type=text name=txt[1] size=75 value='some desc'
The form will only return the checkboxes that are checked
I can recommend http://www.hotscripts.com (the javascript section).
Warren Vail
-Original Message-
From: Todd Cary [mailto:[EMAIL PROTECTED]
Sent: Friday, November 05, 2004 1:17 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: Passing values from a new window
Is there a place
That foot sticking out of his monitor was his choice
Warren Vail
-Original Message-
From: Matthew Sims [mailto:[EMAIL PROTECTED]
Sent: Friday, November 05, 2004 2:08 PM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] Re: Passing values from a new window
[snip]
Is there a
Do you mean other than asking them, like using their IP address?
Warren Vail
-Original Message-
From: bb9876 [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 04, 2004 9:00 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Zip Codes
Is there any way to use PHP to determine the zip code someone
One thing I might be tempted to try would be to execute a trace route
utility and analyze the output, but it is very cryptic;
http://www.traceroute.org/
http://www.tracert.com/cgi-bin/trace.pl
HOSTLOSS RCVD SENTBEST AVG
WORST
er1.sfo1.speakeasy.net
Because for some of us, that part of our body is the smartest thing we have
going, and the rest of us is not engaged in the question.
Warren Vail
-Original Message-
From: bb9876 [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 04, 2004 9:41 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP]
The second limit parameter is the actual number of rows to limit to, and in
most situations this is usually the same number (i.e. 0,15; 15,15; 30,15;
etc). It is too bad this clause is not supported by some of the other
databases I have had to use, it makes a convenient way of paging where the
Assuming that the pasting is done into a textarea/textarea on an html
form, I believe the Textarea will limit the past to just text characters.
I suppose this could be dependent on the browser.
I don't know of any html input control that would allow blob (binary)
values.
I also don't know if
Not sure I completely understand what you are trying to do. In your
problem, seems to me that both 1.3 and 1.6 would fall under 2.0 and neither
of them would fall under 1.0. You must be using some logic that I am not
getting. Can you be a little more specific?
Warren Vail
-Original
Are you trying to round to the nearest .5 value?
Warren Vail
-Original Message-
From: Vail, Warren
Sent: Thursday, November 04, 2004 7:24 PM
To: 'Louie Miranda'; [EMAIL PROTECTED]
Subject: RE: [PHP] getting a number range from user input.. (weight)
Not sure I completely understand
Not sure why you need to pass it in the header as apposed to the body, since
html provides the following;
- snip
form action=postpgm.php method=post
input type=hidden name=arrayvalue[0] value=value0
input type=hidden name=arrayvalue[1] value=value1
input type=hidden
Assuming you have an artificial key for your table (like an auto increment
column), I would place the key field to the table on your form in the value
of the checkbox;
input type=checkbox name=recsel[] value=$rowid
When the form is returned to your post php script it will only receive
those
I'm not sure which session parameter controls it, but my sites are setup so
that opening a new browser window will start a new session, and if your
pages require something in the session saying the user is logged on, he will
be forced to logon in the new session, since the variable will not be
One trick I use is invoke the dynamic image module directly (code the URL in
the address field of the browser), along with making sure that the
outputting of headers doesn't take place until just before the image output
command. This allows the browser to display any syntax errors and such.
?php
$im = imagecreate(100, 50)
or die(Cannot Initialize new GD image stream);
$back_color = imagecolorallocate($im, 255, 255, 255);
$text_color = imagecolorallocate($im, 233, 14, 91);
imagestring($im, 1, 5, 5, A Simple Text String, $text_color);
I like htmlkit; (it's free)
http://www.chami.com/html-kit/
Warren Vail
-Original Message-
From: Eric Bolikowski [mailto:[EMAIL PROTECTED]
Sent: Monday, November 01, 2004 2:25 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: GUI editor for php?
Andy B [EMAIL PROTECTED] skrev i melding
How did you go to the page that included the login page, if you included it
in the tiny_edit.php (which is the routine that sets the cookie in the
browser, you need to cause the browser to send it back to you by doing a
redirect;
Header(Location: tiny_edit.php);
Exit;
When tiny_edit is entered
You might consider another approach, if you are using php5. It's called
PRADO, I believe it was overall winner of the PHP programming contest
sponsored by ZEND.
http://www.zend.com/php5/contest/contest.php?id=36single=1
This is how the product is described;
There is a function in the GD library that measures text size;
http://www.php.net/manual/en/function.imagettfbbox.php
But it has an advantage you don't have, once it has places exactly the font
it wants, the size it wants, directly into an image, it knows that the
browser won't change the image.
Depends on the server and the release, but my apache shows
If($_SERVER[HTTPS] == on) // if true is secure
Lots of other information like cypher key size, etc.
Look in the $_SERVER array.
Keep in mind that lots of servers are setup to use the same htdocs base
directory for both secure and
This is because there is no way for PHP to run in the browser. Wouldn't it
be nice to have a plug-in that allowed PHP to run there, perhaps as a
JavaScript replacement? Guess it would have to be a throttled back version
of PHP to adhere to sandbox security concerns. Sigh
Warren Vail
One aspect of this list that I really enjoy is finding out that everyone but
me is on vacation or out of the office.
8-b
Warren Vail
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 27, 2004 4:22 PM
To: Vail, Warren
Subject: Re: RE: [PHP
and using PHP
if I had known in the beginning that I'd need to learn JavaScript as well.
Warren Vail
-Original Message-
From: Brad Bonkoski [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 27, 2004 4:33 PM
To: Vail, Warren; 'Larry E. Ullman'; Web Guy
Cc: PHP
Subject: Re: [PHP] User Screen
I notice that none of your variables use the PHP convention of $ preceding
the variable name, I also do not see you defining a value for DEFAULT_VALUE,
which by the upper case convention seems to be referring to a global
constant. Is it not true (no pun intended) that if a variable (or constant)
OK, so it was C code on a PHP list, isn't there a PHP developers list that
would work better?
Warren Vail
-Original Message-
From: Quanah Gibson-Mount [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 27, 2004 4:56 PM
To: Vail, Warren; [EMAIL PROTECTED]
Subject: RE: [PHP] Default value
Try;
http://www.zend.com
Warren Vail
-Original Message-
From: Bill McCuistion [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 27, 2004 5:27 PM
To: [EMAIL PROTECTED]
Subject: [PHP] PHP Compiler?
Sorry if this is an old question:
Where can I find information on any plans to
Do you really want to have every single click go back to the server and then
have the browser need to reload your entire page just to expand a limb (not
sure limb is the right term) of the tree? That is what you would have to do
to be pure PHP solution since the only place PHP can execute is on
CURL?
http://www.php.net/manual/en/ref.curl.php
Warren Vail
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 20, 2004 10:25 AM
To: Chuck Barnett
Cc: PHP General List
Subject: Re: [PHP] fopen by URL is disabled, is there another way of
Check out the following, probably a lot more;
http://www.guru.com/ (used to be itmoonlighter.com)
http://www.sologig.com/ (site written in php)
http://www.prosavvy.com/
http://rfq.programmingbids.com/
I have even seen a few on this list, although it is considered a little off
topic, I have yet
often
see something similar in email.
HTH,
Warren Vail
(415) 667-0240
SF211-07-434
-Original Message-
From: Philip Thompson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 13, 2004 6:18 AM
To: Vail, Warren
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Exporting HTML to Excel
How
Have you tried changing your file name to project.htm but continue issuing
the mime headers for excel?
Warren Vail
-Original Message-
From: Philip Thompson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 12, 2004 2:21 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Exporting HTML to Excel
Hi
If you code in php something like the following, you just might be able to
use the perl script;
$ok = exec(path/to/Perl myperscriptname.pl server, $result); // you may
have to straighten out syntax
Foreach($result as $line) {
echo $line; // or you could process the results
}
Hope this
Once heard someone say the same about wiki sites. 8-)
Warren Vail
-Original Message-
From: lists [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 07, 2004 11:45 AM
To: [EMAIL PROTECTED]
Subject: [PHP] general research question (maybe a little OT, sorry)
Hi List,
My boss recently
Haven't looked specifically at mp3 but with most sound formats the sample
rate divided into the number of characters in the file should produce the
time length (i.e. 22000 samples per second divided into a 44 byte data
length results in 20 seconds of sound). Seems to me that with most formats
Perhaps you fixed things but they all appeared to work for me (at least
mostly).
https://celestica.tristarpromotions.com/NEW/index3.php
This last one, seemed to not do the mouseout on the contact button, but
all three seemed to work.
Good job,
Warren Vail
-Original Message-
From:
Right on, a .js file is probably not processed by the PHP engine, but while
it's imbedded in a .php file, it is. Apples and Oranges, no?
Warren Vail
-Original Message-
From: Aaron Wolski [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 05, 2004 1:01 PM
To: 'Jay Blanchard'; [EMAIL
This is my understanding;
When you use session_start(); in your script it sets a condition that will
cause a session write of the contents of the $_SESSION array to the session
repository (by default a file whose name contains the session ID) when the
script has ended. At that time the record
I have used MySQL sessions and session handler routines to perform the
following;
1. I was able to set different session timeouts for different applications
as long as each application used a different session table. The garbage
cleanup routines could be programmed to ignore the global session
Marek is correct the behavior of the browse file selector is essentially a
client side thing, and not directly controllable from PHP. One difficulty
is how to know when a directory is clicked because it is selected, or
clicked because the operator wanted the directory expanded, because he
wanted
I have been looking into this over the last week and have come up blank as
well. Doing this manually is simple, point your browser to your URL, and in
windows use altprint Scrn to copy an image of the rendering in the
browser to the scratch-pad, then paste the image into a tool like paint to
cut
I thought filesize required the file name, and not the fileptr???
Warren Vail
-Original Message-
From: Curt Zirzow [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 15, 2004 10:17 AM
To: php php
Subject: Re: [PHP] fopen problem, 5 line script
* Thus wrote Mag:
Hi,
Can someone
Could it be that lizards are nocturnal? ;-)
Warren Vail
-Original Message-
From: Jim Grill [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 15, 2004 10:05 AM
To: Nick Wilson; php-general
Subject: Re: [PHP] iguanahost - anyone else being plagued?
Anyone else getting these
Has anyone run across a tool available to PHP that can render an image of a
entire webpage from a URL, so that it can be reduced to a thumbnail and
stored in a database?
Warren Vail
I believe this one will be off by an hour on leap day.
Warren Vail
-Original Message-
From: M. Sokolewicz [mailto:[EMAIL PROTECTED]
Sent: Friday, September 10, 2004 1:08 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Adding +7 more days on date() value problem
Why would you do such
So if this is run on the 30th of the month, you are saying this handles a
month with day 37 correctly?
Warren Vail
-Original Message-
From: Gryffyn, Trevor [mailto:[EMAIL PROTECTED]
Sent: Friday, September 10, 2004 11:58 AM
To: [EMAIL PROTECTED]
Cc: Louie Miranda
Subject: RE: [PHP]
Actually, I stand corrected on this one, it will be off by an hour on
daylight savings change date (either one).
Warren Vail
-Original Message-
From: M. Sokolewicz [mailto:[EMAIL PROTECTED]
Sent: Friday, September 10, 2004 1:08 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Adding +7 more
/function.exec.php
$responselines is now an array containing lines of output from the commands.
Hope this helps,
Warren Vail
-Original Message-
From: Sean Smith [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 07, 2004 11:43 AM
To: Vail, Warren
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] remote script
I've done a number of these and the choice depends on many things but
perhaps the biggest factor is;
Is server 1 and server 2 behind the same firewall or are they exposed to the
internet?
Behind a firewall you can probably get away with running any one of the
following commands to remotely
Pedro,
Your question is difficult to answer because it is not specific enough.
First I tried to identify what you meant by version number. I tried right
clicking on the desktop, no version number. I opened windows explorer and
tried right clicking on a file listed there, and got modification
That is because the option register globals was deprecated in later
releases (provided a way for hackers to alter variables not even on your
form).
Suggest you code each reference to a form variable as $_POST[varname]
(assuming you are using the form post method).
Warren Vail
-Original
PHP Nuke includes BLOG's and a lot more (referred to as Journals in the
App).
http://www.phpnuke.org
Warren Vail
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 31, 2004 10:28 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Weblog -Blog software
-
From: Vail, Warren [EMAIL PROTECTED]
To: [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Tuesday, August 31, 2004 9:04 PM
Subject: RE: [PHP] Weblog -Blog software wrtten in
PHP and My SQL
PHP Nuke includes BLOG's and a lot more
(referred to as Journals in the
App).
http://www.phpnuke.org
Warren
You are presented with some difficult design choices and limitations. The
way I believe you are envisioning things may not work.
The problem that you face is that PHP only runs on the server when preparing
the page.
You are asking some interactions to take place once the web page is
presented
I think you are coming to the compromise I've always had to make too.
Warren Vail
-Original Message-
From: Francisco Puente XFMP (QA/EMC)
[mailto:[EMAIL PROTECTED]
Sent: Monday, August 30, 2004 1:44 PM
To: Vail, Warren
Cc: Brent Clements; [EMAIL PROTECTED]
Subject: RE: [PHP] PHP
I struggled with this one as well and the solution is quite simple;
1. Every PHP module that is reached via the action field in a form where
the method is POST (most of mine are) never outputs any html except a http
redirect (it will edit values, update the database, save session data, then
does
Perhaps the question could be asked another way and be more on topic.
Is there a fix in I.E. 6.01 that would interfere with PHP being able to
generate different mime types on the fly, like .png or .jpg
Thanks,
Warren Vail
-Original Message-
From: Jay Blanchard [mailto:[EMAIL
If your problem is with a long running MySQL Query, and many of mine have
been, I would suggest you read
http://dev.mysql.com/doc/mysql/en/Optimizer_Issues.html
Your objective is to make sure that all your database queries avoid the
deadly table scan as a part of their query plan.
Good Luck,
I am hosting a few sites on PHPNuke and have modified PHPNuke to use the
HTMLArea JavaScript addon to allow textareas to be edited in wysiwyg
fashion, without having to deal with HTML. Initial reaction seems to be
very favorable, especially the htmlarea version with the image manager
plugin.
I support several PHPNuke sites and the page preparation time is measured by
taking a microtime stamp at the very beginning of the script and another
just before echoing the last couple of lines at the bottom of the page and
producing something like the following on the bottom of the page;
Page
I could be wrong, but I don't think it measures all the time you want.
The fsockopen will measure the time it takes to resolve the dns entry, and
open the socket, but it does not measure the time it takes to get the
request to the server (you could send the request thru your socket and if
you
One thing you can count on this list, if I say something incorrect, it will
get corrected, so stay tuned.
I had made some assumptions that perhaps I shouldn't have. I assumed that
your remote server was a typical machine running apache, php, mysql, and
lots of other stuff.
I don't believe pings
Sounds like a good plan, but if this is outside a firewall on the open
internet, it could present some security risks. I'll assume for the moment
that it's not.
If your script that sends the email can store the information from the form
into the database and assign it a unique number, then your
I, for one, am not convinced that this all that far off topic.
Since the accepted method to generate browser interaction with server side
PHP, is to use Javascript, it doesn't seem any more off-topic than dealing
with database questions about MySQL.
I am probably like most PHP developers, with a
I was going to suggest;
$dayofweek = date(D,strtotime(date(Y-m-01)));
Warren Vail
-Original Message-
From: John Nichel [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 03, 2004 11:00 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] First day of the month
On Tuesday 03 August 2004 13:46,
Try reversing the order in the date to -mm-dd and I believe it should
work.
Keep in mind that the time variable $ts is not the same as a Mysql timestamp
for example. It conforms to the unix epoch time variable.
Warren Vail
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On
For what it's worth, I use HTML-Kit as well. Feature I like best is the
ability to seamlessly edit content of remote sites and local (folder based)
sites.
Warren Vail
-Original Message-
From: Harlequin [mailto:[EMAIL PROTECTED]
Sent: Monday, August 02, 2004 5:15 PM
To: [EMAIL
Did you think of saving the information (invoice number) in a session or
cookie before sending them off to paypal, for use when the user returns?
Warren Vail
-Original Message-
From: Mike R [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 27, 2004 8:51 AM
To: Jason Davidson
Cc: [EMAIL
I did one application where I used the PHP session table to tell who was
logged on, and which area of the application they were most recently in.
One of several flaws, was that I used Kill session to logoff, and that
caused them to disappear from any count of users logged on. Course, if they
had
Have you tried;
Include ../templates/header.php;
Warren Vail
-Original Message-
From: PHP Gen [mailto:[EMAIL PROTECTED]
Sent: Friday, July 23, 2004 12:28 PM
To: Jay Blanchard; php php
Subject: RE: [PHP] Include path
--- Jay Blanchard
[EMAIL PROTECTED] wrote:
[snip]
Have you considered an imbedded frame? (Looks like a textarea, with the
ability to imbed all types of controls (and tables) within it). I'm not
sure that all browsers support IFRAME yet, but the most widely used one
does.
Another approach would be to use sprinf() formatting to imbed
a user to make mods to the information?
-thanks..
ps.. to you guys who said that the textarea doesn't have a value=''.. it
does...
-Original Message-
From: Vail, Warren [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 20, 2004 11:20 AM
To: '[EMAIL PROTECTED]'; [EMAIL PROTECTED]
Subject: RE
are
available. Notice that the form will return a multi-dimension array;
$returnarray = $_GET[farray];
Hope this gets you started.
Warren Vail
-Original Message-
From: bruce [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 20, 2004 11:51 AM
To: Vail, Warren; [EMAIL PROTECTED]
Subject: RE: [PHP
How about (probably one of fifty solutions;
Foreach($_POST as $k = $v) $vals[] = $k.=.$v;
$strvals = urlencode(implode(,$vals));
Header(Location: https://example.com/script.asp?.$strvals);
One thing to think about, URL's are limited in length, and one reason for
using method=post is that they
) {
$arr[] = $key.'='.urlencode($value);
}
I believe my loop may change the character to something it shouldn't?
Warren Vail
-Original Message-
From: Lars Torben Wilson [mailto:[EMAIL PROTECTED]
Sent: Friday, July 16, 2004 12:55 PM
To: Vail, Warren
Cc: 'Lars Torben Wilson'; Jeff
If the hack works, it should get around the length limitation of the URL,
but I would be more tempted to use CURL for that.
http://www.php.net/manual/en/ref.curl.php
Warren Vail
Warren Vail
(415) 667-0240
SF211-07-434
-Original Message-
From: Jeff Oien [mailto:[EMAIL PROTECTED
I believe we all missed something important here, but I've been wrong
before.
Notice his URL below, specifically the https part.
I believe this means that the data not only needs to be URL encoded but SSL
encrypted. I believe this makes a stronger case for using CURL, does it
not? I also would
1 - 100 of 236 matches
Mail list logo