I want to get both of these in my url
$_GET["i"] and $_GET["a"]
i can only do &i=bla bla
but i want to do
&i=blabla&a=blabla
how do i add em together
Thx
$DB->query("SELECT c.contact_name, c.contact_id, m.desktop, m.monkavatar FROM ibf_contacts c, ibf_members m WHERE member_id='".$member['id']."' AND c.contact_name=m.name ORDER By $rank LIMIT {$info['limitfriend']}");
am I calling all rows from the table "ibf_members"
or just the specific ones?
Cause i have alot of rows and Is there a more better performance way?
when users get a avatar url to use for there avatar,
they enter in a link to a .jpg or .gif and it works,
is there a way i can read the width/height/pixels/bytes from that link they giv before the submit so i can put some restrictions on it?
Thanks
Im sending a private message back to my user on my forum..
and I want to beable to hold shift or a key and press something and it automatically submit's my form for me
Possible?
I want to create a field row called "totaltime"
i know how to do that, but i want it to save the total time a user is on my site, and when to turn it off, etc.
Possible if so how? thx I want the data to be stored in a Data Type mysql thing lol
move_uploaded_file($_FILES["file"]["tmp_name"],
"packs/cimage/" . $_FILES["file"]["name"]);
I need to make it so, if somone has spaces when they upload like
"copy of image.png"
I need this function (move_uploaded_file or whatever to take out all the spaces and scrunch it together so it will be
"copyofimage.png'
or something but i can't have spaces ..
thanks
Im making a row on my table, but it's only to be used for 0 and 1, simple true and false 1 and 0
what type should i do that is the smallest most less performanced?
a varchar(2)? or somethinG?
Ty
SELECT ip.item_id, ip.points_spent, ip.purchase_date, i.title, i.file_path
FROM {items_purchased} ip, {items} i
WHERE user_id = $user_info[user_id]
AND ip.item_id = i.item_id ORDER BY i.title ASC
I want to add something like this, tell me if it's wrong?
AND pack_id = "1,2,3,4"
Pretty mucht hat doesn't work.. but I Want to call pack_id = numbers 1 through 4,
possible?
Oh.. i found it
Just had to move the stuff after,
move_uploaded_file($_FILES["file"]["tmp_name"],
"packs/cimage/" . $_FILES["file"]["name"]);
so it reads it,
thx
im trying to use getimagesize function at the same type, uploading picture..
so whenever i use ($_FILES["file"]["name"]) I can get the dimensions for the pic they uploaded.
Warning: getimagesize(shop.gif) [function.getimagesize]: failed to open stream: No such file or directory in /home/gtcom/public_html/forums/ava/upload.php on line 42
Stored in: packs/cimage/shop.gif
42:
list($width, $height, $type, $attr) = getimagesize($_FILES["file"]["name"]);
~~ -.-
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.