problem in uniqid()

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
my_raj_raj2
Forum Commoner
Posts: 28
Joined: Mon Mar 20, 2006 8:06 am
Location: India

problem in uniqid()

Post by my_raj_raj2 »

Hi,

I use uniqid() function.

But I received below warning message


Warning: uniqid() expects at least 1 parameter, 0 given in /home/pages/reps.php on line 758

Warning: Cannot modify header information - headers already sent by (output started at /home/pages/reps.php:758) in /home/function.inc.php on line 156


I don't know why it is appear?

Anybody know how to solve it?

Thank u
Last edited by my_raj_raj2 on Fri Mar 31, 2006 12:34 am, edited 1 time in total.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

pass something to uniqid(). :roll:

Read the documentation on the function.
Post Reply