Jump to content

Boo-urns

Members
  • Posts

    144
  • Joined

  • Last visited

    Never

Everything posted by Boo-urns

  1. My new idea is to use a URL, and when a hidden input field changes go to that URL but when i am doing a onchange for the hidden field its doing nothing! As when the text field gets the value i guess it doesn't think it is changing. I guess i could do it when they want to see the comments? For an onclick but that wouldn't be very good UI. Any suggestions?
  2. My problem at the moment, is that I'm having a photogallery with a recordset being filtered by photogallery id. Ok that is no problem, then when they browse through the pictures it will display in a separate div the larger picture. Then i have add a comment to that particular picture, i have everything going great however I can't figure out how i will filter the correct comments. Is there a way to pass a javascript variable to PHP on the same page w/o going to a new URL? Maybe its an easy answer but i'm stuck :-\ Thanks in advance Corey
  3. Phew finally i got the passing the variables, however still unsure how to pop it up right at the button any ideas?
  4. I'm still really lost. I've spent hours trying to pass variables which isn't what stated but i also need help w/ that. What I'm trying to do is when the user clicks on the image it will popup at that location. The popup list will be of users they want to invite, they will check which ones or a check all and then upon them hitting the submit button it will populate the invite input area. I'm sure its been done somewhere i couldn't find it on google though.
  5. Is there a way to pass a javascript variable to a popup window?? onclick="window.open(this.href, 'newwin', '_blank, width=105, height= 200, left=VARIABLE, scrollbars=yes'); return false;"
  6. Yea that is an idea to start we'll see how it goes. Thanks
  7. Yea sorry about that. Yes I am using a Database and the user will be able to pick, or type in the user(s) they want to send the invitation too. Basically it will just have an event name / date / location / details. I've already set up that table and a table for the users events that they accept. So they will receive it possibly by e-mail but definitely a notification in their profile (of course they can just add the event themselves)
  8. What I'm trying to do is send multiple invitations to several contacts by the users choice. I'm not sure how to go about that. Any suggestions? Corey
  9. I'm displaying countries in a dropdown and was trying to figure out how i can fit it in a smaller box. I tried giving the dropdown a div class that didn't work and also tried changing the #column td { css tag. Any ideas how I will be able to squish it in a small box? Corey
  10. Yea yea that's clear its how I'm doing the users pet information. Just wasn't sure if that was the way to go or not! Thanks
  11. What would be the best way to create a 'friends' category on a site. (similar to facebook, myspace with pictures also) Would it be better to enter every one in the database and link it to that particular user, or should i do something else? Just point me in the right direction! Thanks Corey
  12. Well i got it to connect but now i'm getting session_start() errors. Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/mypetwor/public_html/staging/profile.php:5) in /home/mypetwor/public_html/staging/profile.php on line 6 ???
  13. I had everything going smoothly in PHP 4, i try to transfer it to a different host (yes changed the connection on the pages etc...it did connect) I am getting these errors on the page. Warning: include(../Connections/conn_mypetwork.php) [function.include]: failed to open stream: No such file or directory in /home/mypetwor/public_html/staging/profile.php on line 1 Warning: include() [function.include]: Failed opening '../Connections/conn_mypetwork.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/mypetwor/public_html/staging/profile.php on line 1 Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/mypetwor/public_html/staging/profile.php:1) in /home/mypetwor/public_html/staging/profile.php on line 5 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/mypetwor/public_html/staging/profile.php:1) in /home/mypetwor/public_html/staging/profile.php on line 5 Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /home/mypetwor/public_html/staging/profile.php on line 10 Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/mypetwor/public_html/staging/profile.php on line 12 I'm guessing once it all get fixed the bottom 4 Warnings will clear up.  If anybody could point me in the right direction it would be appreciated. Thanks, Corey
  14. Yea that is a good question about the disk quota it does say i'm at 91.8 % full so we'll try taking some files off of there.
  15. Here is what i got when i uploaded a 1.9 MB file the echo is: 1996496 Here is what i got when i tried a 2.9 MB file: 0 Warning: Division by zero in /home/burns/public_html/guru/MyPetwork/changePictureParse.php on line 31 Warning: imagecreatetruecolor(): Invalid image dimensions in /home/burns/public_html/guru/MyPetwork/changePictureParse.php on line 32 Warning: imagecopyresampled(): supplied argument is not a valid Image resource in /home/burns/public_html/guru/MyPetwork/changePictureParse.php on line 36 Warning: imagejpeg(): supplied argument is not a valid Image resource in /home/burns/public_html/guru/MyPetwork/changePictureParse.php on line 40 Warning: imagedestroy(): supplied argument is not a valid Image resource in /home/burns/public_html/guru/MyPetwork/changePictureParse.php on line 45 Warning: imagedestroy(): supplied argument is not a valid Image resource in /home/burns/public_html/guru/MyPetwork/changePictureParse.php on line 46
  16. Hmmm yea I'll see about the filesize echoing however my script says it is.  Yea I'm getting the information from the server when i activate the script.  The only part that confuses me is if its under 2mb then it will show the filesize when i echo it.
  17. My script is working great for files under 2mb, anything above it doesn't want to upload and is saying the filesize is 0. Form information is this: [code] <form action="changePictureParse.php" method="post" enctype="multipart/form-data"> <input type="file" name="imagefile"><br /> <input type="submit" name="submit" value="Upload Photo"> [/code] [code] //db info $ok = 1; $filesize = $_FILES['imagefile']['size']; echo $filesize; $maxSize = 2097200; if ($filesize > $maxSize){ echo "Your file is too large.<br>"; $ok=0; } if($ok == 1) {             //then the rest of uploading the image [/code]
×
×
  • Create New...

Important Information

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.