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.)
Seth Willits
On Sunday, September 7, 2003, at 02:50 PM, Seth Willits wrote:
A few things I'm trying to do:
1) Turn "MM/DD/YY" into an array like that returned from getdate(). I
don't want to explode it or split it, I want to get an array just as
if I used getdate() when the current
27;m supposed to do those, then the rest I will
understand.
Thanks,
Seth Willits
---
President and Head Developer of Freak Software - http://www.freaksw.com
Q&A Columnist for REALbasic Developer Magazine -
h
;", then it reports "PDFlib
error [2516] PDF_findfont: Metrics data for font 'Times New Roman' not
found" on line 2 also.
finished";
?>
Thanks,
Seth Willits
---
President and Head De
all up. Thanks.
Seth Willits
---
President and Head Developer of Freak Software - http://www.freaksw.com
Q&A Columnist for REALbasic Developer Magazine -
http://www.rbdeveloper.com
Webmaster for REALbasic Game Central -
On Tuesday, September 2, 2003, at 12:06 AM, Seth Willits wrote:
Lots of
Awesome. Thanks for the quick reply.
Hmm.. Actually, how does this work with php & html? This is actually
what I'm trying to do. I should have said this in the first place
On Tuesday, September 2, 2003, at 12:03 AM, Jason Wong wrote:
Lots of
Awesome. Thanks for the quick reply.
Seth Willits
---
President and Head Developer of Freak Software - http://www.freaksw.com
Q&A Columnist
';
} else {
print '
';
}
This works, but it destroys the syntax coloring of the html making it
all one solid color. I'd love to know if there's a better way OTHER
than inclu
t isn't
creating it.
I already did that and like I said, it's always the correct path. Look
at the very first line of the code above which was in the original
path.
Thanks for the tip on is_dir.
Actually -- using is_dir made
x27;;
A print("false $buildingPath") might yield as to why it isn't
creating it.
I already did that and like I said, it's always the correct path. Look
at the very first line of the code above which was in the original path.
Tha
s prints false signaling that mkdir has
failed.
This is the last remaining issue on getting my site finished. Well
except for uploading, but I don't need that just yet.
Seth Willits
---
President and Head Dev
On Monday, September 1, 2003, at 11:33 AM, Mike Morton wrote:
You need to read up on the scope of variables within functions.
Ohh, I didn't even think of that. Thanks.
Seth Willits
---
President and Head Develop
latter, the "different" page would also have to add the answer to the
record.
Hope this helps,
Seth Willits
---
President and Head Developer of Freak Software - http://www.freaksw.com
Q&A Columnis
== '') {
// Connecting, selecting database
$link = mysql_connect($shs_MySQLServer, $shs_MySQLUser,
$shs_MySQLPassword)
or die("MySQL Connect Error : " . mysql_error());
etc
}
}
Seth Willits
---
P
directory to the user www, and or the group (www i suppose)
With some help from a friend, I chmod'ed my site folder and it all
works well now.
Thanks,
Seth Willits
---
President and Head Developer of Freak Software -
r the user 'www' and one
other that is under 'root'.
Seth Willits
---
President and Head Developer of Freak Software - http://www.freaksw.com
Q&A Columnist for REALbasic Developer Magazine -
http://
$g_ih);
imagecopyresampled($img_dst, $img_src, 0, 0, 0, 0, $g_iw, $g_ih,
$g_is[0], $g_is[1]);
imagejpeg($img_dst, $g_dstfile, $g_imgcomp);
imagedestroy($img_dst);
} else
return false;
}
Seth Willits
---
This may be obvious, but I even looked in a few books and didn't see
it, but where are PHP errors logged? No errors ever appear on the page
yet the online documentation refers to error messages and such, so I'm
assuming there must be some log somewhere.
Thanks,
Se
drive and it's not there. I'm running on
OS X and am using the built-in Apache web server. Crazy...
Seth Willits
---
President and Head Developer of Freak Software - http://www.freaksw.com
Q&A Columnist
user to be required to log in if they've been inactive for 10
minutes, or if they closed the browser window and opened another one.
Sorry for all the basic questions :)
Seth Willits
---
President and Head Develope
On Friday, August 29, 2003, at 07:44 PM, Curt Zirzow wrote:
Does the next page call session_start()? all pages that use
$_SESSION, must call that first.
Ohhh... ok. Thanks :)
Seth Willits
---
President and Head
>
And later in the same page, I include another file which has the links
to the pages within the secured section of the site:
From there, when I go to another page, that same line of doesn't work,
as the links are not shown. Any idea
n, you can't see this page."
Are sessions the way to go?
Seth Willits
---
President and Head Developer of Freak Software - http://www.freaksw.com
Q&A Columnist for REALbasic Developer Magazine -
http:/
alized that the names are case sensitive, so
$_POST['username'] and $_POST['Username'] are completely different.
Thanks,
Seth Willits
---
President and Head Developer of Freak Software - http://www.frea
This might be staring straight at me, but I can't seem to figure out
how to reference form parameters in php code. For example:
Thanks,
Seth Willits
---
President and Head Developer of Freak Software -
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.
Seth Willits
---
Pres
26 matches
Mail list logo