Look at the section in the manual on how to upload files via HTTP (Under the
"Features" chapter from memory) for working with the images. a couple other
things to think about;
1. some sort of validation on the images to make sure they are images
(extension/mim-type?)
2. confirm that you can suc
Hi and thanks in advance,
I am quite new to php and appreciate the help and patience. I am trying to have a
form that allows uploading of user info and accompanying images into MySQL DB. Text
enters fine into the DB but the images will not. I hope I provided enough info below
(didnt want to
> How would I do that? I just did this:
>
> $date = date("Y-m-d");
>
> and changed my date field in my MySQL DB to use the Date format, I
don't
> know if that's correct though? Then how would I get to delete all
before
> the current date?
DELETE FROM table WHERE date_column < CURDATE()
---Joh
Sorry, ignore the last message it's working now :-)
Thanks for your help though John, got me looking in the right direction.
Chris
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi there,
How would I do that? I just did this:
$date = date("Y-m-d");
and changed my date field in my MySQL DB to use the Date format, I don't
know if that's correct though? Then how would I get to delete all before
the current date?
Sorry to be a pain, date stuff really throws me :-(
Chris
> I use the following to store the current date in my db:
>
> $date = date("mdY");
>
> then to decrease the day by -1 I use the following:
>
> $date = date("Y");
> $date2 = date("m");
> $date3 = date("d")-1;
>
> $dateb = '$date$date2$date3';
>
> Now what I need to do, is when a DB operation i
I would imagine your game would have two frames (one hidden frame), and the hidden
frame would contain scripts to check and update page.
In the bottom frame i see you might have two choices:
1. have a meta refresh which checks every 5 (or so) secs if a move has been made, and
if detects a move,
Hi there everyone,
I use the following to store the current date in my db:
$date = date("mdY");
then to decrease the day by -1 I use the following:
$date = date("Y");
$date2 = date("m");
$date3 = date("d")-1;
$dateb = '$date$date2$date3';
Now what I need to do, is when a DB operation is run
--www.kapsul.org--
Hi.. I want to make a webgame in PHP-Based. My Game is Almost
finished, but there's something that I still try to figure out.
Here's my problem. I want to make a battle engine using PHP+MySQL, and I
want it to be almost real-time eventhough I make it as turn-based. I juz
Alex,
> I am trying to set up a test server to test updates before changing my
> uploaded pages. I have running Windows 98. I have Apache installed and
> running, and thought I have PHP installed properly. (Installed it as
Welling
> and Thomson). However when I try to run my test.php file which sh
I am trying to set up a test server to test updates before changing my
uploaded pages. I have running Windows 98. I have Apache installed and
running, and thought I have PHP installed properly. (Installed it as Welling
and Thomson). However when I try to run my test.php file which should give
phpin
> How do you load a standard web page from PHP.
>
> I thought, from what I read, that is was with fopen() ... but its not
> working for me.
You can do it with fopen(). If it's not working, make sure there are no
redirects, as fopen() (until PHP 4.3) will not follow them.
---John W. Holmes...
P
Brett,
Works for me!
Show your code,
=dn
> How do you load a standard web page from PHP.
>
> I thought, from what I read, that is was with fopen() ... but its not
> working for me.
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
How do you load a standard web page from PHP.
I thought, from what I read, that is was with fopen() ... but its not
working for me.
Thanks
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> Can someone tell me where can I find a function or class
> for export MySQL database (structure & data ) into text file ?
>From the system prompt:
path/to/mysql/bin/mysqldump -uuser -ppassword database_name >
filename.sql
will dump the entire database to an SQL file.
mysqldump --help
For mor
Hi,
Can someone tell me where can I find a function or class
for export MySQL database (structure & data ) into text file ?
Thanks,
Rosen
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
i've been looking for a good php site
thanks
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
17 matches
Mail list logo