Hello Dan,
On 27 Jan 2004 at 14:31, Montagna, Dan wrote:
> echo "";
Uh-oh, this won't work: you have an unclosed tag here. Try this:
echo ''.$row['community'].'';
Good luck,
Erik
Montagna, Dan wrote:
I've got the code for a drop down list and the drop down box displays--but
with no info in it. The underlying table is populated so I could use some
advice on what might be wrong from here
include("includes/db.php");
MYSQL_CONNECT(HOST,USER,PASS) OR DIE("Unabl
Why do you need to remove the delimeters? If you remove them, then it
makes it quite difficult to get the data you need. If you want to
display the date and race type without the square brackets around them,
then use $matches[0][1] and $matches[1][1] instead of $matches[0][0] or
$matches[1][0
John W. Holmes wrote:
echo "";
If you view the HTML source of the page, do you see a bunch of empty
elements? If so, then $row['community'] isn't valid. Maybe it's
a case issue and you should be using $row['Community']? Can't tell
because you're using "SELECT *", though...
And he has an ope
Hello.
I can unset multiple variables easily, however I can't see how to unset
multiple globals without:
unset($GLOBALS['1']);
unset($GLOBALS['2'])
unset($GLOBALS['3'])
and so forth
I have tried a few variations with no success.
Thanks for any help!
--
PHP General Mailing List (http://www.
Sorry for so many questions, thanks to all those who have helped.
I am finding that in order to completely unset some of my variables, I need
to use both unset($GLOBALS. and unset($_SESSION)
Does this make sense? Thanks!
--
PHP General Mailing List (http://www.php.net/)
To unsubscri
I have the following file: http://domain.com/archive/newsletters/Dec03.pdf
For some reason this works: filesize('archive/newsletters/Dec03.pdf');
but this does not: filesize('/archive/newsletters/Dec03.pdf');
nor does this filesize('http://domain.com/archive/newsletters/Dec03.pdf');
For some r
2 ways to do it:
Simple, no control:
foreach($GLOBALS as $key => $value) unset($GLOBALS[$key]);
Or
$vars_to_clear = array("1","2","3","4","a","b","C1","D2");
foreach($vars_to_clear as $keyname) unset($GLOBALS[$keyname]);
Matt
On Tue, 2004-01-27 at 15:26, BOOT wrote:
Hello.
I can unset mult
Scott Taylor wrote:
I have the following file: http://domain.com/archive/newsletters/Dec03.pdf
Lovely.
For some reason this works: filesize('archive/newsletters/Dec03.pdf');
Relative path from the current directory. Is your script in the web root?
but this does not: filesize('/archive/newslette
I'm converting old code to work with Register globals turned off in php.ini.
With it on, is_upload_file($filename) works fine but when turned off doesn't
work at all.
What am I missing.. Help me please !!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
http://us3.php.net/features.file-upload
--- bill <[EMAIL PROTECTED]> wrote:
> I'm converting old code to work with Register
> globals turned off in php.ini.
> With it on, is_upload_file($filename) works fine but
> when turned off doesn't
> work at all.
>
> What am I missing.. Help me please !!
>
bill wrote:
I'm converting old code to work with Register globals turned off in php.ini.
With it on, is_upload_file($filename) works fine but when turned off doesn't
work at all.
What am I missing.. Help me please !!
...the "Handling file uploads" section of the manual.
http://www.php.net/manual
>What I would do would instead be to put an
>index on that column, then with a simple select
>check if that username is free or not. Based on
>what I get in return I can then either insert the
>data or return the form to the visitor with information
>about it. Much more simple in the long run
if nothing worked out, simply right the dynamic png to a temp file (e.g
tempimg.png) then include this png file in your PDF document :)
hope this helps,
Ammar
"Dominik Heeb" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello,
>
> I succeed in creating PDF files dynamically wi
Martin,
Thank you for the insight when I ran the php file you suggested,
nothing appeared to be related to mysql. I installed both the php and mysql
packages onto my Linux box through a rpm installer. Where can I obtain
mysql support for php?
Tom
"Martin Luethi" <[EMAIL PROTECTED]> wrote i
My honest advice, dont use rpm's, you need to compile php via source if you
want to do anything out of the ordinary like adding extensions, yes adding
mysql is out of the ordinary for a standard rpm lol. Thats just my
experience anyway.
so ./configure --with-mysql=/usr/local/mysql or whereever you
You are working with Register globals turned off, so try
is_upload_file($_FILES['tmp_name']['filename'])
bill wrote:
I'm converting old code to work with Register globals turned off in php.ini.
With it on, is_upload_file($filename) works fine but when turned off doesn't
work at all.
What am I mis
Hi there regarding out discussions before about using isset, i set function
params which are false intitalially as null ie function foo ($bar = null) ,
anyway $bar remains true both ways if i do isset($bar), i didnt notice this
assuming it was ok, now the scripts are buggered, it was originally lik
As others have already pointed out to you, what better place to find
information about google than google?
Frank Tudor wrote:
That's not very helpful.
I am also curious about this.
Anyone have a more thought provoking answer?
Frank
--- Raditha Dissanayake <[EMAIL PROTECTED]> wrote:
If you
Is Googlebot (or any other bot) able to follow links that are php?
>
>As others have already pointed out to you, what better place to find
>information about google than google?
That, or your server logs - googlebot is great about identifying itself.
RTFM's aside, a little understanding of ho
I understand all of the file size ones. What I really don't understand
is why neither of the following examples work:
/* example 1 */
/* where $_SERVER['DOCUMENT_ROOT'] = /usr/local/psa/home/vhosts/domain.com/httpdocs */
$file = $_SERVER['DOCUMENT_ROOT'] . '/archive/newsletters/Dec03.pdf';
readf
Hi,
Does anyone know what function is needed to make
graphic chart like those line / pipe char? Any
example?
Thanks!
__
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/
--
PHP General Mailing List (http:/
CGI Error
The specified CGI application misbehaved by not returning a complete set of
HTTP headers.
I am getting this error and I can't figure out what is causing the problem.
If I hit refresh on the broswer, the page loads just fine. Any ideas???
Thanks,
Dale
--
PHP General Mailing List (http:
I am attempting to write my own little error-logging function...
however, for some reason, whatever I do I can not seem to override the
error display setting on the server.
Starting at the most simple thing, you should think that when you write
.
. should pretty much stop every error message
I am attempting to write my own little error-logging function...
however, for some reason, whatever I do I can not seem to override the
error display setting on the server.
Starting at the most simple thing, you should think that when you write
.
. should pretty much stop every error message
unkno me wrote:
Does anyone know what function is needed to make
graphic chart like those line / pipe char? Any
example?
The easy, simple way is to just have PHP control the width of an image
and stretch it. So if you had a 1x1 blue pixel image, you could stretch
it 100 pixels for 100% and 50 pi
You could also look at
http://sourceforge.net/projects/phplot/
I'm playing with that at the moment and it's doing quite a nice job.
Olwen Williams
[EMAIL PROTECTED]
-Original Message-
From: John W. Holmes [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 29, 2004 3:30 PM
To: unkno me
C
Parse errors are scanned for and displayed before the PHP parser even starts
trying to execute the code itself. I doubt you can usefully intercept them
because anything you may have written into the file to handle them will
never be run.
- Original Message -
From: "Robert Restad" <[EMAIL
Thanks for the thoughts on .sit files. I still don't quite know what I'll
do (maybe I'll just force'em to make .zips -- it's not like it's IMPOSSIBLE
for a Mac to make .zips).
Here's another question, possibly easier. Possibly even bone-headed.
What kind of checking/filtering/changing do I need
Hi everyone,
I made the mistake of using strtotime("day") instead of
strtotime("today")
to get the current time.
I was just curious, what is strtotime("day") represent?
Below is what I used to test the "day" and "today" parameters:
Testing One Minute Difference
Thanks in advance.
-Gohaku
I have the following query.
UPDATE link SET hits = hits+1 WHERE website_link = '$link'
$link is the website link that was clicked on.
The query works fine. The problem is if $link is a website that does
not exist in the database mysql_query(); still returns true even though
nothing was updated.
You have started a new thread by taking an existing posting and replying to
it while you changed the subject.
That is bad, because it breaks threading. Whenever you reply to a message,
your mail client generates a "References:" header that tells all recipients
which posting(s) your posting refers
Hi,
On Tue, 27 Jan 2004 23:05:09 -0500
gohaku <[EMAIL PROTECTED]> wrote:
> Hi everyone,
> I made the mistake of using strtotime("day") instead of
> strtotime("today")
> to get the current time.
> I was just curious, what is strtotime("day") represent?
>
> Below is what I used to test the "day"
On Tue, 27 Jan 2004 18:41:39 -0800
"Dale Hersh" <[EMAIL PROTECTED]> wrote:
> CGI Error
> The specified CGI application misbehaved by not returning a
> complete set of HTTP headers.
>
> I am getting this error and I can't figure out what is causing
> the problem. If I hit refresh on the broswer, t
Hi,
On Wed, 28 Jan 2004 11:17:52 +1100 (EST)
<[EMAIL PROTECTED]> wrote:
> Hi there regarding out discussions before about using isset, i
> set function params which are false intitalially as null ie
> function foo ($bar = null) , anyway $bar remains true both ways
> if i do isset($bar), i didnt n
Jason Giangrande wrote:
UPDATE link SET hits = hits+1 WHERE website_link = '$link'
$link is the website link that was clicked on.
The query works fine. The problem is if $link is a website that does
not exist in the database mysql_query(); still returns true even though
nothing was updated. Wh
On Wednesday 28 January 2004 12:05, Jason Giangrande wrote:
> I have the following query.
>
> UPDATE link SET hits = hits+1 WHERE website_link = '$link'
>
> $link is the website link that was clicked on.
>
> The query works fine. The problem is if $link is a website that does
> not exist in the da
On Tue, 27 Jan 2004 20:22:46 -0500
Scott Taylor <[EMAIL PROTECTED]> wrote:
> I understand all of the file size ones. What I really don't
> understand is why neither of the following examples work:
>
> /* example 1 */
> /* where $_SERVER['DOCUMENT_ROOT'] =
> /usr/local/psa/home/vhosts/domain.com/
On Tue, 27 Jan 2004 18:01:40 -0500
"Tom Flood" <[EMAIL PROTECTED]> wrote:
> Martin,
>
> Thank you for the insight when I ran the php file you
> suggested, nothing appeared to be related to mysql. I
> installed both the php and mysql packages onto my Linux box
> through a rpm installer. Whe
Take a look at jpgraph:
http://www.aditus.nu/jpgraph/
-Original Message-
From: unkno me [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 27, 2004 5:25 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Making Graph / Chart
Hi,
Does anyone know what function is needed to make
graphic chart like th
Hello everyone. I am new to PhP and MySQL. I was wondering what a good (Or
Free) Php Editor is?
--
**
John Jensen KB9KQN Woodstock, IL
Wxwarn1 - http://www.wxwarn1.com
Personal Page - http://john.wxwarn1.com
Scannerbuff.net - http://www.sc
John Jensen wrote:
Hello everyone. I am new to PhP and MySQL. I was wondering what a good (Or
Free) Php Editor is?
Google.
http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=php+editors&btnG=Google+Search
Archives.
http://marc.theaimsgroup.com/?l=php-general&w=2&r=1&s=php+editors&q=b
N
Hello,
On Wed, 28 Jan 2004 00:10:11 -0600
"John Jensen" <[EMAIL PROTECTED]> wrote:
> Hello everyone. I am new to PhP and MySQL. I was wondering what
> a good (Or Free) Php Editor is?
Maybe you missed this:
http://marc.theaimsgroup.com/?l=php-general&m=107396769431732&w=2
or
http://www.phparc
If you are already using eclipse, you could try the a PHP plugin, which can
be downloaded free from www.xored.com
It's got the basics: outlining, highlighting and error detection and some
more. I guess the only thing this has over the other
full featured editors out there is that you don't have to
===
This message is for the benefit of new subscribers
and those new to PHP. Please feel free to add
more points and send to the list.
===
1. If you have any queries/problems about PHP try
http://www.php.net/manual/en first
Hello everyone!
Does anyone have a copy of PHP 1.0? Today I managed to get PHP 2 working,
and I already had 3, 4 and 5 on my system.. So I want 1.0, just to have them
all.. So, anyone? Please? I really want it..
Any pointers / comments / files appriciated!
--
// DvDmanDT
MSN: dvdmandt¤hotmail.c
101 - 146 of 146 matches
Mail list logo