> Has anyone taken a look at this magazine yet (www.phparch.com)? I came
> across mention of it on Slashdot earlier today and it looks
interesting.
> I
> am considering subscribing but wouldn't mind some feedback about the
> overall quality of the publication beforehand.
>
> Nick Oostveen
It's ne
> did any one face a prob when session vars get mixed from a website to
> another when you use the same browser window ?
No, did you?
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Well, if you rule out ob_* and javascript, the best you can probably do
is to just include() your error page or write a function to display it.
You won't be redirected to the page, but it'll show up.
---John Holmes...
> -Original Message-
> From: Monty [mailto:monty3@;hotmail.com]
> Sent:
> I don't know if this is a bug, or what, but I get an error when trying
the
> following
>
> if ( isset($adodbobject->Fields('myresult') ) ) { // do something }
>
> PHP throws an error ( not warning ) saying:
> Parse error: parse error, expecting `','' or `')'' in
/path/to/index.php
> on
> line 45
> OK, thanks for no help whatsoever. But I'm not bitter; I'm here
to
> report what I found so that the next guy with this problem isn't
stuck:
>
> The PHP docs say to change variables in /etc/php.ini (like the
whole
> world knows about) but the key is to *also* look into php.CONF, too.
>
> I have a problem here again regarding the date comparison. I need to
> check the most recent date that was entered in mysql database in date
> format ("Y-m-d"), if the datetoday is a day or two days in advanced
> compared to the queried date.
> I need to make sure that the next inserted date in
> Is there a way i can test the cpu or the hdd for its serial number in
php
> under linux and win?
Can you do it from the command line? Run the same command through
exec(). You can only get information for the server, not anything about
the client's computer, btw...
---John Holmes...
--
PHP G
> Line 110:
>
> VALUES ('$receptor[1]', '$mfi->email', '$frm[priority]',
'$frm[title]',
> '$frm[description]', now(), '$on_special')
Those "errors" are just warnings. It's telling you that $receptor[1]
does not have a value when it reaches that statement. Does that matter
to you? You may want to
This is actually a pretty common question on here, so it's good to know
of another source to point people to.
---John Holmes...
> -Original Message-
> From: Bret L Conard [mailto:bretlc@;donet.com]
> Sent: Monday, November 11, 2002 12:11 PM
> To: Brian Dunning; Ernest E Vogelsinger
> Cc:
> On Tuesday 12 November 2002 01:26, John W. Holmes wrote:
> > This is actually a pretty common question on here, so it's good to
know
> > of another source to point people to.
>
> You really meant "... so it's good to know that if people search the
> arc
> Hi-
> Can I use both _GET and _POST in the same php file? Thanks!!
> -Greg
Yes, you can use both in your code, but only one method is going to be
valid when your page is requested by a user. A user can't request a page
with both a GET and POST request at the same time.
---John Holmes...
--
> I'm migrating to PHP from ColdFusion.
>
> I've been running some sample scripts I have found in various places
and
> all
> of them throw an error:
>
> Notice: Undefined variable: in
> c:\inetpub\wwwroot\myphpcalendar\ on line .
>
> In ColdFusion, I can use the tag to preset a variable. I've
You'll do it in the database, not PHP.
Look into using LIKE in your query...
SELECT * FROM yourtable WHERE column LIKE '%searchterm%'
The % characters are wildcards that'll match any amount of characters.
You can use _ to match a single character.
You could also look at FULL-TEXT indexing in M
> Which built-in PHP functions would I use to move a file from one
directory
> into another? I'm thinking that this requires more than one function
to
> achieve what I want.
>
> What approaches should I take? Do I need to copy the file into a
temporary
> directory first and then move it to the des
> Is there anyway at all of reading the results of a parsing PHP page
from
> within that same PHP page itself. In other words can you read the HTML
> code
> it's going to create. I know that you can use regular expressions to
parse
> the HTML page manually swapping variable content as you would wit
If you want an email password feature, then just store it as plain text.
If someone is able to get access to your database, that means they more
than likely have access to the rest of your box, so your 'secret code'
is worthless.
---John Holmes...
> -Original Message-
> From: rija [mailto
> I have some code that looks like this:
>
> if(!session_is_registered('errors'))
> session_register('errors');
>
> but i want to do this using the $_SESSION, i tried
> doing it this way
>
> if(!isset($_SESSION['errors']))
> session_register('errors');
>
> but when i echo(isset($_SESSION['e
> I don't think so,
> data stored as plain text is almost stored intact in the file system.
>
> Using stupid windows for example,
> you can easily open mysql file "table.MYD" in the folder database with
> NotePad, and you can read everything. Which means, everybody without
any
> hacking knowledge
> Using ENCODE and DECODE with protected 'secret code' help you to
improve
> your security and user's security. And you don't lost anything doing
this,
> on the contrary, it is a good marketing arguments, like as your system
> (site) is more safe than other and user could fell in.
And where do you
He wants just "index" though, instead of "index.html"
You can do it a variety of ways. You can use basename() like Jonathan
said, and just strip off the last 5 characters using substr().
Or you can use either of the following two regular expressions.
preg_match('~/([^/]*)\.html$~', $source, $des
Wiltgen'; 'List ? PHP General'
> Subject: Re: [PHP] Trivial newbie regex question
>
> but my way is so pretty! i mean, who cares if it doesn't work
'exactly'
> as you want, we're going for the ballpark solution right???
>
> fine...
> sub
> Is it posible to do multiple file upload without selecting each file
> manual
> in multiple form fields?
No.
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> Why i can't tranfer data from one table to another with this code? I
can't
> pass "$reg" to $c and $t... : \
> thanks
>
> $ligacao=mysql_connect("localhost","","") or die (mysql_error());
> $real="INSERT INTO divx (titulo,cds) VALUES ('$t','$c')";
move the above line...
> $temp="SELECT * F
"callback" should be the name of a function that determines what the
matched pattern will be replaced with.
Maybe you just need the regular preg_replace(), instead of the one with
callback?
---John Holmes...
> -Original Message-
> From: Bikeman [mailto:[EMAIL PROTECTED]]
> Sent: Sunday,
> I'm cooking tothether a tiny php html editor right now, (textarea kind
> of thing). To treat the text properly I need to encode characters like
> '"', '<', '>', and friends into something that doesn't confuse the
> browser.
Htmlentities() or htmlspecialchars()
> By the way, do you think encodi
Okay, stop and take a break. Now come back to the problem and ask
yourself how you can display the results, two at a time on each row.
After you display every second item, you want to end the row and start
another one. Something like this...
";
while($r = mysql_fetch_row($result))
{
echo "show y
> Here is the code that is supposed to do what I want:
>
> $headers = "From: \"$name $last\" <$email>\n" . "Reply-To:
<$email>\n\n";
Try taking out the extra newline (\n) you have in the above line.
Actually, the headers are supposed to be separated by \r\n, instead of
just \n, also.
---John Hol
> OK I am trying to take some content from another site (I have total
> consent)
> and convert all the prices on the site to 5% more. I can get all the
> content
> off the site and display it where I want. I can ereg_replace all the
money
> to one price such as ($23.50) but I can't change the price
> Is it will increase the processing time when too many "include"
process in
> a
> program?
Well, each include() takes up time, so yes. It depends on what you're
including, though, as to how big of an impact it has on your program.
---John Holmes...
--
PHP General Mailing List (http://www.php
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, November 19, 2002 6:43 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] plus sign has changed to space after POST
>
> After upgrade to 4.2.3, plus "+" sign has changed to space after POST.
I
> have checke
ecause
> user might input a string like "abc+%3423324hello%23ddd"
>
>
>
>
>
>
> "John W. Holmes" <[EMAIL PROTECTED]>
> 11/19/2002 03:52 PM
> Please respond to holmes072000
>
>
> To: <[EMAIL PROTECTED]>, <[EMAIL
> might be my php code has problem the following code fragment will keep
"+"
> to "+" but "$" to "%24"
That's what urlencode() is supposed to do.
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> You can do something like this:
> $seconds = 265;
> $time = date('i s',$seconds);
> $minSecs = explode(' ',$time);
> echo "{$minSecs[0]} minutes and {$minSecs[1]} seconds\n";
> ?>
That doesn't work for anything over 3599 seconds, though...
---John Holmes...
--
PHP General Mailing List
t I describe earlier in the thread. I can't
save
> %24 in the database but "$".
>
> ie
> a user send a string "abc+def$ghi", I need to get the exact string
back
> but not "abc+def%24ghi".
>
> so is this a bug in PHP??
>
>
>
>
&
> Dear all
> Can anyone pls tell me how i can turn number : 10 to Oct?
> i counting on the month, that's why i won't to convert the result to
> month!
$months = array(1=>'January',2=>'February',3=>'March',...);
echo $months[$your_month_number];
You could also use a combo of date() and mktime().
What do the include/EXPORT_*.php files do?
---John Holmes...
> -Original Message-
> From: Jock Pereira [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, November 20, 2002 8:28 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] flush() issue
>
> Having an issue getting flush to work. Browser version
> -Original Message-
> From: ??? ?ta? [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, November 20, 2002 8:52 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] manage Form data
>
> I want to sumbit data from a form and then view the data and then send
it
> to the data base...
That's awesom
> I have code that says:
>
> if($_GET['sc'] != '2' OR '8'){
> do this.
> }
if($_GET['sc'] != 2 || $_GET['sc'] != 8)
{ do this... }
You don't need the single quotes if you're comparing integers.
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visi
> Sorry to repost this, but I haven't found a solution
> and it's still nagging me. Maybe some of you can come
> up with something I can't. Here was my original post:
>
> I've made myself an tag that
> contains in the value attribute a list of
> comma-delimited numbers. I need to find if a certai
> I just wanted to know if there was a way to control the owner of the
new
> file because when iupload files the owner is set to httpd which means
that
> I
> can't access the file properly.
Not much you can do about it, if PHP is running as a module. If it's
CGI, then I think you can set it up so
> Users can upload their files, but the files they upload can only be
> downloaded X amount of times. After they've been downloaded so many
times
> in
> an ideal world they'd be automatically removed, though just to be made
so
> people couldn't download them anymore would be great.
You need a down
> I'm wondering which is faster, eregi('[A-Z]',$variable); or
> ereg('A-Za-z',$variable);?
Well, you're not even matching the same thing, for one...
And, second, why not read this page, www.php.net/microtime so you can do
your own testing in the future?
They run about the same in my tests, assum
---John Holmes
-Original Message-
From: System Attendant [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 21, 2002 8:40 PM
To: 'John W. Holmes'
Subject: ScanMail Message: To Sender, sensitive content found and action
taken.
Trend SMEX Content Filter has detected sensitiv
> Is there a way to convert a date " 20/11/2002 " to a Float number in
PHP,
> since the date starts in 30/12/1899, just like the delphi treats the
> dates
Yeah, of course. To convert "20/11/2002" into a float, just do
echo (float)"20/11/2002";
and you get 20!!
Or you can use strtotime() to
> What is the line code to optain the system date?
> I propose is to compare the system date with the date in one field in
the
> database... Then what would be the mysql command to select all the
rows
> with
> date with 10 days or less from the system date?
NOW, CURDATE(), or CURRENT_DATE
SELECT
rush wrote:
While PHP is often considered as
template system in it self, I think it is is not very strong, or efficient
one.
Wow... where'd you pull that from?? Any facts to back that up? :)
FYI: I've got a template benchmark site running at
http://sepodati.realxl.net/tpl_bench/
Any interest in
Steve Todd wrote:
Is it possible to define a variable, such as:
$foo = "bar";
and then do as follows to create a totally different variable:
$$foo = "text here";
this seems to mean $bar = "text here";.
Is this a bug or can we legally use it.
Yes it's legal.
http://us2.php.net/manual/en/lan
Chris Boget wrote:
All the information is on www.php.net/fdf.
I just read the above page and I can't for the life of me figure out
why anyone would want to do this. Of course, it's likely that I am
simply being myopic.
Would anyone who's actually used fdf enlighten as to the need to
do it this wa
[EMAIL PROTECTED] wrote:
John, that is EXACTLY what i want, now the question is...have you seen this
implemented somewhere? so php would pass the data to a database and when a
user/client wants to see that data again, php would "re-generate" the form
with the data that is being requested right?
Andras Kende wrote:
Hello All,
I have a very simple question:
Want to remove the string after the first whitespace like:
"here is a text what i have"
to:
"here"
$word = substr($sentence,0,strpos($sentence,' '));
--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
ph
Creative Solutions New Media wrote:
Hi,
Asked this on the mySQL list but it seems to be more of a PHP syntax thing
that a mySQL thing.
In have the following line in PHP
I have a mySQL table which contains dates formatted as dates(-xx-xx)
I want to select all records based on a specific mon
andu wrote:
When you POST a form to the server the server replies with a new
page. if you click the Back button in the browser the server wants to
re-POST the form. Short of using GET is there a way to prevent
re-submitting the previous form?
Of course. :)
One technique is to use a "middle-man" p
Jay Fitzgerald wrote:
I need to create a form for this example in php. I need to have an
unlimited number of seats with radio buttons next to each seat for the
user to be able to select. BUT, when the user visits this page, it needs
to pull the seats taken from the db and cross them out, render
Seth Willits wrote:
Is there anyway to get an absolute URL to work with Require & Include?
Why doesn't it work already? I did see the tip about using $_SERVER,
but this slows down page-loading considerably.
You can use URLs in your include() or require() calls.
include("http://www.google.co
Anil Garg wrote:
I am reading date in the format "08-Aug-03" from a text file. While writing
this date into the myqsl database's date column it shows '00-00-'.
Is there a function or some other way to convert "08-Aug-03" type of dates
in to format which is acceptable by date field of the mysql
Ford, Mike [LSS] wrote:
Having said that, I've just given you a clue: since array_push($array, $var)
is equivalent to $array[] = $var, you can get the result you want by doing:
$array[] = array($k, $v);
(with, of course, appropriate values for $array, $k and $v substituted to
suit your code!).
Jackson Miller wrote:
Why is it that when you forget a "}" the error says:
Unexpected $ on line [last line of file]
Why can't it just say:
Missing } on or before (best guess).
How could the parser possibly know that one was missing as it's going
through the file? It just keeps a count and can only
John Taylor-Johnston wrote:
$StudentId = "weather.htm9995";
if (!isset($_COOKIE["weather.htm$StudentId"]))
if(!isset($_COOKIE[$StudentID]))
{
echo "Cookie not found, not reading weather.htm$StudentId";
echo "\$_COOKIE[\"weather.htm$StudentId\"]".
$_COOKIE["weather.htm$StudentId"]."-";
}else{
Aris Santillan wrote:
is it possible to query on 2 databases
but with same tablename and merge its output?
Probably. It depends upon your database, though.
SELECT t1.column, t2.column FROM database1.table1 t1, database2.table2
t2 WHERE ...
--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/r
[EMAIL PROTECTED] wrote:
thanks for your answers! i'm not quite sure if i made my point clear. this
is my problem:
image.php
include("database.php");
ImagePNG($image, '', 95);
imagedestroy($image);
?>
database.php
instead of including the whole database.php i need to include only a given
number
Lee O'Mara wrote:
PROBLEM:
I want to produce short "snippets" for search result pages. The search
results are already partially processed (search terms get wrapped in
[strong] tags), but I keep hitting dead-ends with this step. Now, I've
tried a wide number of approaches, spent an embarasing am
Deependra b. Tandukar wrote:
Hi,
I have configured PHP 4.3.3 in which register_gloabals is set to be off.
I modified etc/php.ini and set it to be On but still it shows it is off
and some developed applications in php are asking for it to be turned
on. How do I do this?
Did you restart the web
[EMAIL PROTECTED] wrote:
This really begs the question of WTF you have a 10,000+ line file that
you only need a couple lines from... seems like your logic is screwy.
every time my script is executed a line is added to a given image.
right now every image is saved as new file because it needs to re
STONE Steven wrote:
What's the best php editor out there?
Thanks in advance for nay replies!
We've reached our quota on answering this question. Search the archives.
--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine for PHP Professionals
Beauford.2005 wrote:
I am getting this error:
Warning: session_start() [function.session-start]: Cannot send session
cache limiter - headers already sent (output started at
/usr/local/apache/php/includes/2004server.inc:24) in
/usr/local/apache/php/includes/restricted.inc on line 5
I have ob_start
jsWalter wrote:
-Original Message-
From: Matt Matijevich [mailto:[EMAIL PROTECTED]
I dont know much about classes, but dont you want
$a = new THECHILD('walter'); //so you can access $a->abc
instead of
$a = new THEPARENT ('walter');
No, I'm wanting to EXTEND the orginal class.
meaning
Nicole wrote:
I have the hidden image code:
http://thetrackingurl/?param1=val1¶m2=val2&etc... height=0
width=0 border=0>
This hidden image code is placed on the ThankYou page that people see after
they have bought something. What it does is load a script on the tracking
site to let the owner know
bob pilly wrote:
Hi all
Can someone tell me what the correct syntax is to pass
a Session ID via the header redirect is? Im trying:
header( "Location: page2.php?" )
but it isnt working for me and all the docs i can find
just deal with tagging it to the end of a hyperlink.
header("Location: page2.ph
Webmaster wrote:
Hi,
i am using the smarty template engine.
Here is the problem that I would like to ask about:
function initTop(&$page, $array)
{
for ($i=0; $iassignVars(, $array[$i])
}
}
The function is supposed to know which object's attributes she is supposed
to change. Do I have to pass
John Welty wrote:
I'm only accessing the result of the user logging in through
$GLOBALS["PHP_AUTH_USER"]
I've tried unsetting that but it doesn't change anything. The only thing
that logs a user out is them closing their browser and reopening it. I'd
like a user to be able to switch usernames by c
You didnt understand. I change save.session_path to other's site session
directory, do session_start(), write every variable what i want, write down
session number, go to this site and using this generated session. You cannt
prevent this ever!
Does enabling safe_mode counter any of these writing
Richard A. DeVenezia wrote:
[snip]
I can do
- site.com/info/template.html and get two alerts
- site.com/info/content1.html and see a new text under H1
- site.com/info/slick.php/content1.html and get neither alert nor new text.
- instead I get 4 browser (IE) 'problem alerts', I presume
- 1. for
Vince LaMonica wrote:
I wish to use fwrite() to create a small PHP file. So far, when I attempt
to do this, php parses the contents of the file that fwrite needs to
create. Eg, I have this:
$new_id = mysql_insert_id();
// create brand new file
$new_file = fopen("/var/www/html/$sitename/$submitted_
Chris Edwards wrote:
I'm just going to give the code and output. It should be self explanatory.
The array, $criteria, is having the issue. I don't know what it's doing. I
cannot seem to assign the value from the $data variable to the
$criteria[index] value. You will see some attempts to debug
Leonie wrote:
I have this code:
if (!$path) {
$path = getPath();
}
Sometimes $path is set (there are forms on the page that can change it).
When the page is first displayed:
Notice: Undefined variable: path in e:\program/ etc...
It then gives a reference to the line: if (!$path) {
Is there
Nicole wrote:
Not sure what else to do other than try something different. Using Cookie
seems to be the only way to store the value on the client side for later
retrieval.
How about using a session and passing the session ID in the URL for the
cookie?
--
---John Holmes...
Amazon Wishlist: www.am
Robin Kopetzky wrote:
I would like to call a function from a 's ACTION attribute. This is
what I'm trying to do:
I can include the PHP_FILENAME but passing parameters to the function I
can't figure out how to do. Any help would be appreciated.
Ummm... no. You call a PAGE from the action attribute
James Johnson wrote:
Hi,
I have 15 - 20 $_SESSION vars that I want to clear when a user logs out.
I've been doing it with the following code:
if(session_is_registered($_SESSION['svUserID'])){
session_unregister($_SESSION['svUserID']);
}
But, this is tedious. Is there a better way, like se
Carlos Castillo wrote:
HI, i have the following problem
Im working with sql server 2000 in a windows xp pc, then in the bd i have a
table called "noticias" and a text type field, when i insert into the field
everything goes rigth, but when i try to get the info of teh field, i can
get all the
anders thoresson wrote:
Hi,
I've had troubles with an application that randomly (until now) unsets
the session variable $_SESSION['editor']. I've hunted through all my
code and finally managed to rule out everything else than the following
couple of lines.
It unsets the session variable $_SES
[EMAIL PROTECTED] wrote:
Am Sonntag, 07.09.03 um 14:11 Uhr schrieb Catalin Trifu
output: this is just a test
(after the first term is highlighted the second one can't be found
anymore.)
but how to work around it??
Highlight the longest words first?
--
---John Holmes...
Amazon Wishlist: www.ama
Seth Willits wrote:
2) Have a date string representing the first of the month and
manipulate it to be the last day of the previous month.
You can use mktime() for this. To get the last day of a given month,
just give the parameters for the "zeroth" day of the next month. For
example, to get th
nabil wrote:
I have a postnuke website and i had denial of service attack
the point is the attack is one only the home php page ... with cpu 100% and
few apache procceses..
Any comment ?
It was not me.
--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect:
Doug Parker wrote:
isn't there a function that allows me to store a string with a bunch of
quotes in it (like an html tag) into a variable?
for example, i need something like: $perf_mod =
http://www.php.net/manual/en/language.types.string.php#language.types.string.syntax.heredoc
--
---John Holm
Jim Lucas wrote:
> $dins="Dinesh";
>>> echo "";
>>>?>
>>
>>Use double quotes for HTML attributes.
>
Why do you say that?
Yeah, I figured someone would ask that. :) I couldn't find anything
definitive on w3c.org; can someone back me up?
AFAIK, they are required in XML and XHTML. It's a good h
Vail, Warren wrote:
Question: will the substitution for the variable $dins occur if surrounded by single quotes?
I could be mixing languages here, but I seem to recall a rule in one language about substituting variable contents only occurring between double quotes.
In PHP, no, variables will no
Seth Willits wrote:
If I want to show events (records in a MySQL table) for the next 10
days (and I do), what would be the best approach to searching with this
range? (The dates in my table are stored as a string in the format
/MM/DD.)
SELECT * FROM Table WHERE event_date BETWEEN NOW()
Bill wrote:
How do I know it won't just assume that $_POST["detail"][11][116] means the
116th character in the string $_POST["detail"][11]?
Because $_POST['detail'][11] is an array (or it should be). If you're in
doubt, make sure it is with is_array().
--
---John Holmes...
Amazon Wishlist: www.a
Tom Wollaston wrote:
Hi
I am havening a problem retrieving url from a mysql database. I have the
url's stored as text and am using the following code to retrieve them
$query = "SELECT name,url FROM clubs WHERE url>'' ORDER BY name";
$result = @mysql_query($query) or die ("Query failed");
if (my
I'm trying to get the total number of a certain records from a database,
but the result is always '1'. Please advise!
=MySql Table =
=activitiy =
id | employee_id | project_id | date
1 | 45 | 60 | 2003-09-09
2 | 34 | 10 | 2003-09-10
3 | 45 | 45
[EMAIL PROTECTED] wrote:
>>Dan J. Rychlik wrote:
>>>Is their an easy way to call a function based upon a button action?
>>
>>Example:
>>
>>
>>
>>
>>
>>
>>action.php:
>>function action1() {
>>echo "Hello, I'm action1";
>>}
>>
>>
>>function action2() {
>>echo "Hello, I'm action2";
>>}
[EMAIL PROTECTED] wrote:
apologies i generally use this system for deleting records, i give a
confirm box if they press ok it goes to another action, i suppose i should
change this system to submit the form instead and check for the post var ?
i guess at least it could store the http_referer then
Tim Thorburn wrote:
Normally to change a sites include directory for PHP I'd use a .htaccess
file and the following command:
php_value include_path ".:/path/to/web/"
Again normally, I would get the path to the site by doing a simple
phpinfo(); command and find the _ENV["DOCUMENT_ROOT"] line n
Stephen Tiano wrote:
So I got is to display every column of every entry. But when I tried a
specialized select statement in the query box provided by the form at
the very end of this code, when I pressed the "Submit" button, nothing
changed; I was still left staring at the table of all the info
Curt Zirzow wrote:
* Thus wrote Robert Cummings ([EMAIL PROTECTED]):
On Sat, 2003-09-13 at 17:21, Eugene Lee wrote:
On Sat, Sep 13, 2003 at 06:15:29PM +, Curt Zirzow wrote:
: * Thus wrote Eugene Lee ([EMAIL PROTECTED]):
: > Something I've noticed in PHP is a proliferation of code like this:
nabil wrote:
Why this happen with me with IIS
CGI Error
The specified CGI application misbehaved by not returning a complete set of
HTTP headers. The headers it did return are:
Although it's not a bug, read this:
http://bugs.php.net/bug.php?id=12061
--
---John Holmes...
Amazon Wishlist: www.amaz
Stevie D Peele wrote:
Is PHP space sensitive??
PHP is very sensitive about it's space. Don't go into it's personal
space otherwise you can upset it and cause it to cry.
--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine for PHP Professiona
Justin French wrote:
Hi all,
I need to convert some text from a database for presentation on
screen... as per usual, characters like quotes and ampersands (&) are
giving me grief. the obvious answer is to apply htmlspecialchars(), BUT
this also converts all < and > into < and > signs, which d
Jeremy Brand, B.S. wrote:
Thanks to everyone for their responses, though I still have not found a
way to get to the conference at a reasonable price (what I consider
reasonable).
If anyone has any comments other than justifying the price of the
conference, like a friends of php list I can get o
Jeremy Johnstone wrote:
Actually the $495 is the conference fee only... It does not include the
$160 a night for the hotel room (price of the hotel the conference is
at), or food, or transportation. That is just your ticket into the
conference. Factor in everything else, and your easily up to
$150
901 - 1000 of 2763 matches
Mail list logo