Try using in your PHP page:
error_reporting (E_ALL ^ E_NOTICE);
Ryan A wrote:
Hi John,
Thanks for replying, I already tried that and thought i might be mistaken
because i am still getting stuff like this:
Notice: Undefined index: facility24 in
/home/bestweb/public_html/add_co_location.php on lin
Can you post the entire error?
Is that a " or a '' ? if a ", you need a closing " to go with it.
Jim M Gronquist wrote:
I added one term to a listing
-
if ( $follow_up == ") {
$error=true;
}
and now I'm getting a parse error
Ugh
Look into mktime()
http://us3.php.net/manual/en/function.mktime.php
Chris Hayes wrote:
hi,
i have to move data from a table with a datetime (2003-05-14 13:36:04)
to a unix timestamp (e.g. 2147483647) . Any ideas?
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: ht
What I do is:
$var = "variable".$increment;
echo $$var;
Tony Crockford wrote:
I really am having a difficult day.
I want to do an incrementing while loop that will echo out the values of
$variable1 , $variable2, $variable3 which exist previously.
so how do I get the incrementing number onto the w
Tried. Didn't work then, isn't working now.
Johnny Martinez wrote:
I see this randomly on my little server. Just hit the refresh button :P
J
-Original Message-----
From: Shena Delian O'Brien [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 16, 2003 10:57 AM
To: [EMAIL PRO
Hi -
Got PHP4 running on IIS as a testing server (only used internally for my
own testing purposes). It suddenly just flurbed on pages it worked fine
on minutes ago. Now suddenly it gives me this error (with popups telling
me about the missing files):
Security Alert! The PHP CGI cannot be acce
I think here would be a good place to start looking:
http://www.php.net/manual/en/ref.image.php
Dan Anderson wrote:
Because of restrictive safe mode settings I cannot display images from
their folder. Is there a way to embed them within a web page?
i.e.
\n";
readfile('image.jpeg');
print "\n";
?>
That's a very good question. I'd like to know the answer to that as well.
Dan Anderson wrote:
Because of restrictive safe mode settings I cannot display images from
their folder. Is there a way to embed them within a web page?
i.e.
\n";
readfile('image.jpeg');
print "\n";
?>
Thanks in advance,
What's your:
$cfg['PmaAbsoluteUri']
$cfg['Servers'][$i]['host']
? Should be something like :
$cfg['Servers'][$i]['host'] = 'http://localhost/phpMyAdmin';
$cfg['Servers'][$i]['host'] = 'localhost';
Post other config entries that you've changed...? What authentication
method are you using, etc? So
http://www.tinyurl.com
Joey wrote:
How can I hide this link so value can't be changed?
I don't want to change anything at the server level, and its not from a
form so I cant do a post -vs- a get.
http://www.abcd.com/popup_SearchRepSet.php?searchby=cust_no&search=1&value=WOR032
Thanks !
--
P
($install=="0") {
"Shena Delian O'Brien" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Well you realize don't you that unless, on submit, install changes to 1,
whenever you submit your form it's going to go right back to the initial
page.
Mark C
Well you realize don't you that unless, on submit, install changes to 1,
whenever you submit your form it's going to go right back to the initial
page.
Mark Clarkstone wrote:
Its in cpconf.php
?>
"Shena Delian O'Brien" <[EMAIL PROTECTED]> wrote in messag
Where are you passing the variable "install"? I can't see it in your
form. Perhaps look for $check instead of $install?
Mark Clarkstone wrote:
now the script works but won't write to the file just returns to the form.
Control Panel
if ($install=="0") {
print "Welcome to The Control Panel
Ins
Well for one thing, you've misspelled one of your variables...
the if ($instal=="0") should be, if I'm not incorrect,
if ($install=="0")
Mark Clarkstone wrote:
Can anyone help me with this code I just get someting about $end & help me fix it
Thanks
Parse error: parse error, unexpected $end in
Wong wrote:
On Wednesday 09 July 2003 01:51, Shena Delian O'Brien wrote:
[snip]
Well I gradually figured out that the date format output by filemtime()
was not an acceptable natural language date format. filemtime() was
fetching dates with a dash - ex. 07-08-2003. strtotime() was making
incorrect t
Ok so on a web application I needed to list the files in a directory,
ordered by last modified date.
I was pulling them out in an array, fetching the filemtime() for each
file, and trying to order them by that date. I was using asort() to sort
the files in an array so they'd list chronologicall
Does anyone know why Red Hat would switch to Apache 2.x.x when it is
well known that 2.x.x is NOT a production version?
Brad Pauly wrote:
Just thought I would share my experience with RH9. I have been running
Apache 1.3.27 and PHP 4.3.2 on RH9 for a couple weeks (since 4.3.2 came
out anyway, an
[-^-!-%- wrote:
I just found out that the generated file, though with .pdf extension, is
actually an HTML file. The file was never encoded to PDF.
What am I missing?
You need a PDF file library...
http://www.php.net/manual/en/ref.cpdf.php
http://www.php.net/manual/en/ref.pdf.php
--
PHP General Mai
Michael A Smith wrote:
Look at array_diff() (http://php.net/array_diff). That ought to do what
you want.
Yes! Thank you :)
-Michael
On Wed, 2003-07-02 at 10:15, Shena Delian O'Brien wrote:
Hi -
I have two arrays that need to be compared. I need to know if their
values match or not.
Curr
Hi -
I have two arrays that need to be compared. I need to know if their
values match or not.
Currently I have:
$array1 = array(a, b, c, d);
$array2 = array(c, d, e, f, g);
$intersect = array_intersect($array1,$array2);
$num1 = count($array1);
$n
You need to return $x out of the function.
So do this:
function hello() {
print 'hello ' . $name;
$x = 1;
return ($x);
}
etc
Then call it assigned to a variable:
$x = hello();
echo $x;
bye();
Kyle Babich wrote:
I think this is short example of my problem...
$name = 'k
Sparky Kopetzky wrote:
Hi!
I've got two nested queries where one looks up data based on values returned from the first.
$lot_query = "SELECT * FROM LOT WHERE lot_category_id=" . $lot_category .
" AND lot_close_time>" . time();
$lot_result = mysql_query($lot_query, $CONNECT_ID);
Is this function still broken in php 4.3.0+?
The manual says it was broken in PHP 4.0.4.
Thanks.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
23 matches
Mail list logo