Search:
Type: Posts; User: sc_king
Search :
Search took 0.01 seconds.
<?php
if(isset($_POST['submit']))
{
header("Refresh: 5; url=test.php");
$success=1;
}
?>
Hi,
I'm trying to add unique alt tags to my php code that reads images from a directory.
Is there a way to add alt tags without adding each image to a database with an "alt" column?
Thanks
Hi,
I'm creating a rating system where the user can only vote once.
Which method is the best to store this ip address.
Should I store it as a serialized array into a longtext field?
Should...
Hi,
Does anybody know another method of executing php code from a mysql result.
Is the eval() function the only way?
If so, is using it for a cms safe since only the webmaster will be using...
Hi,
I'm trying to read a file with japanese characters and then insert them into the database. I'm currently getting an error in the mysql syntax being caused by the characters. Can anybody help...
Anybody have any ideas on the design for this?
Hi,
I'm trying to store hotel data with all of it's amenities. What is the proper way of creating such a database.
Should I have a hotel table with 50-100 fields or create a relational table...
Hi,
<?php
session_start();
if(isset($_POST['review']))
echo $_POST['form-token'];
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
With paypal, i'm trying to create a user after the payment.
Should I keep a session on my end of the users registration then mark it as paid after I receive payment notification? I need certain...
Are there others who has played around with nodejs who can give me some recommendations on this issue?
Thanks
Hi Krik,
Yes you are correct I'm trying to do a simple multiplayer example with sockets where I can move a shape around a canvas.
I can pass coordinates to the server and server will update the...
Are there any other ways instead of using setinterval or settimeout.
The reason I ask this is because I'm starting to program in nodejs.
I am only calling the server when the keys are pressed...
Hi,
I'm trying to move a box around the screen with the keyboard using "keydown" but i've noticed that there's a delay.
Move -> Stop -> Moves Smoothly
How can I fix this issue so that it...
Hi,
Anybody know any examples or how to go about sending text message through your own website?
Any help would be appreciated.
Thanks
Hi,
I've seen some code where they cache the php and mysql results.
Is this a method used to reduce load to the server today? or do browsers automatically cache pages now?
Thanks
I've seen some sites auto extract movies and descriptions from certain tube websites.
Does anybody know how this is accomplished? Is it done with a cron to an export tool?
Any help would be...
If I do it that way, my background will stretch and I will have an inconsistent background for the content. Is it possible to do it using my solution?
IE 8 and Firefox 3.6
You have to shrink the page so that it has a vertical scroll bar then scroll to the bottom to see the white space.
Hi,
I'm having trouble with having height:100% take the full page.
If I full screen the page, the background takes up the full page.
If I shrink the window to half the size so that a scrollbar...
Can you explain the use of the 3rd table?
Would it be worse to add category_id within your products and skip the 3rd table?
Thanks
Hi,
If there are products such as clothing and tennis racquets. Should these be separated into their own database instead of placing them all in a products table? They have different...
Well the stats are for our internal system and cannot be removed to switch to google analytics. So i guess i'm back at square one.
Well,
each of my pages track first page hits and second page hits.
if they land on index.php, that is a first page hit... if they select another page that'll be a 2nd page hit.
Problem is...
if (!isset($_COOKIE['yourcookie'])) {
if (isset($_GET['checkcookie']) && $_GET['checkcookie']) {
// inform user to enable cookies
unset($_GET['checkcookie'];
echo "you need cookies...