Hi,
How can i get the screen resolutin in php. I've read that i can't this.
With java i can do this.
document.write("Your Screen Resolution Is : ");
document.write(screen.width + " x " + screen.height);
My question is how can pass the screen resolution from java to a variable? It
is a better w
Hi,
I have a mysql database where i store a user name and date when he registered.
The date format is like this 2005-03-17 02:41:51.
How can i found out how many minutes passed from the date he registered till
now.
Thanks in advance for your help !
Hi,
I have a database where i store the username and date when he registered.
The time when he registered is using the time() function.
I want to display the date he registered in this format: year, month, day,
hour, minute, second.
Please somebody tell me how can i do that.
I know is is very s
Hi,
I have a form like this:
For each element of the array i want to update the value in the database. For
example, for position[pos][value 1] i want to update the value (number 1) in
the database.
Thanks in advance for your help!!!
Hi,
I have a form like this:
Note that $value from position[pos][$value] is different in all 3 fields.
For each element of the array i want to update the value in the database. For
example, for each value of the position[pos][$value] i want to update the
database with the specific number.
Hi,
This is not the proper list to put this question but i hope you can help me.
Does anyone know a good tutorial about mysql injections?
Thanks a lot for your help
I have a site and the other days i received a message from a guy that told
me my site is vulnerable to mysql injections. I do not know how can i
prevent this. The server is not configured or it's all about the script?
- Original Message -
From: "Bostjan Skufca @ domenca.com" <[EMAIL PRO
Hi,
I want to create a script that displays all names from a database once per
second.
A part of the script look like this.
for ($i=0; $i<$total_names; $i++)
{
echo "name";
sleep (1);
}
The scipt works fine but it displays all names at once. I want to display the
first nam
Hi,
I have a script which send emails using mail() function. I have 100 email
addresses and i set up the script to send 1 email every 10 seconds. So, it will
take 1000 seconds
to send all 100 emails.
My question is: If I stop the script after,let's say 12 seconds, it will send
only 1 email or
Hi,
I need to build up a search module for a shop. If I make a basic search
(product title for example) it is ok.
$query = "SELECT product_id FROM products WHERE title LIKE '%$title%'";
But i need an advance search for more than one field (title, description,
price, weight)
The problem is that
Hi all,
I have 3 arrays:
$array _ids = (id_1, id_2, id_3, id_4)
$array_names = (name_1, name_2, name_3, name_4)
$array_emails = (email_1, email_2, email_3, email_4)
I want to create an array that contains all this arrays and then to print the
array.
Something like that:
foreach ($
Hi,
I have 2 arrays:
Array (
[0] => Array (
[0] => 28
[1] => Music
)
[1] => Array (
[0] => 5
[1] => Books
Hi,
I have 2 arrays:
Array (
[0] => Array (
[0] => 28
[1] => Music
)
[1] => Array (
[0] => 5
[1] => Books
Hi,
If i use, at the beginning of my scripts, ini_set('register_globals', 0),
register globals will be turned off?
Thanks
Hi,
How can i destroy an array?
I mean i have a loop and for each new value in the loop i want to destroy the
array. Something like that:
while($row = mysql_fetch_array($result))
{
$product[] = $product_id;
// some code here
}
I've tried this but doesn't w
Hi,
I have the date when users registered stored in the database using time()
function format.
I have to search for users that are registered this week, this month and this
year. How can i do that? I mean how can i found the beginning of this week? Or
the beginning of this month?
Thanks in ad
Hi,
How can i found out the average time users spent on a page. Anyone know a
tutorial?
Thanks in advance for your help !!!
Hi,
How can i found out the average time users spent on a page. Anyone know a
tutorial?
Thanks in advance for your help !!!
LOL. This got nothing to do with my question . LOL again
- Original Message -
From: "Frank de Bot" <[EMAIL PROTECTED]>
Cc:
Sent: Saturday, August 06, 2005 10:20 PM
Subject: Re: [PHP] Average time spent on a page
[EMAIL PROTECTED] wrote:
Hi,
How can i found out the average time us
Guess what? I've googled for it and nothing
- Original Message -
From: "Burhan Khalid" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc:
Sent: Saturday, August 06, 2005 5:07 PM
Subject: Re: [PHP] Average time spent on a page
[EMAIL PROTECTED] wrote:
Hi,
How can i found out the a
Yes, I'm looking for the algorithm.
- Original Message -
From: M Saleh EG
To: [EMAIL PROTECTED]
Cc: php-general@lists.php.net ; Frank de Bot
Sent: Sunday, August 07, 2005 6:36 AM
Subject: Re: [PHP] Average time spent on a page
Try using one of the log reader/analysis pac
Hi,
I have a site with some phone products. I want to search for a specific
products. I use this:
SELECT product_id, product_name FROM products WHERE product_name LIKE
'%$search_string%'
It works fine if the search string counts 1 word. But if the search string id
counts 2 or 3 or more word
Hi,
I have an htaccess file and I want to create users and password with a php
script. The problem is that I've used md5 encryp for the password and is not
working. How to create the password from a php script.
Thanks in advance for your help
23 matches
Mail list logo