Jump to content

justAnoob

Members
  • Posts

    561
  • Joined

  • Last visited

    Never

Everything posted by justAnoob

  1. I'll just make a separate page for this then instead of the popup. Thanks.
  2. I want to add a text area to this so when an Administrator of the site clicks the refusal button, they will be able to type in a reason for the refusal. <?php echo '<a href="adminDeleteGoodie.php?delete_id=' . $delete_s_find . '" onClick="return confirm(\'Are you sure you want to delete ' . $makesure_s . ' from the Goodies Approval List? If so, please leave a reason for the upload being denied. NEED A TEXT AREA RIGHT HERE \');"><img src="images_new/remove.jpg" border="0" /></a>'; ?>
  3. Wow,, now I'm really confused. Basically I'm all I'm looking for is to have the pictures displayed for 10 seconds,, then move to the next one.
  4. This is the extra garbage i was talking about when I checked the picture properties. The picture was not displaying cause of this. http://www.mysitecom/%3Cimg%20src=%22trackimages/daytonatrackpic.jpg%22%20/%3E I'll try what you said though. Thanks.
  5. I found a little javascipt online, and I wanted to play around with it. I'm trying to add a little php to it, I think I'm close to getting it, but when I click on the properties of the pictures that I want displayed, it has a bunch of extra garbage in it. So is the javascript reading something extra in the php script ? Here is the code. <script language="JavaScript"> var j,d="",l="",m="",p="",q="",z="",KW_ARI= new Array() KW_ARI[KW_ARI.length]='<?php echo '<img src="trackimages/' . $row['new_pic'] . '" />'; ?>'; KW_ARI[KW_ARI.length]='<?php echo '<img src="trackimages/' . $row['new_pic'] . '" />'; ?>'; KW_ARI[KW_ARI.length]='<?php echo '<img src="trackimages/' . $row['new_pic'] . '" />'; ?>'; KW_ARI[KW_ARI.length]='<?php echo '<img src="trackimages/' . $row['new_pic'] . '" />'; ?>'; KW_ARI[KW_ARI.length]='<?php echo '<img src="trackimages/' . $row['new_pic'] . '" />'; ?>'; j=parseInt(Math.random()*KW_ARI.length); j=(isNaN(j))?0:j; document.write("<img name='seqSlideShow' src='"+KW_ARI[j]+"'>"); function seqSlideShow(t,l) { x=document.seqSlideShow; j=l; j++; if (j==KW_ARI.length) j=0; x.src=KW_ARI[j]; setTimeout("seqSlideShow("+t+","+j+")",t); } seqSlideShow(10000,0) </script>
  6. Thanks ManiacDan, I guess I'll search for some javascipt tutorials on time limits then right? Thanks for the help..
  7. So there would be a page refresh for each picture ?
  8. I have a page on my site which displays a picture that I have stored on my server. The loaction of that picture is stored in mysql. All the images are .jpg format. My question is, if I allow a user to upload 5 pictures instead of just 1, is there a simple script that would show each picture for about 2-3 seconds, the go to the next? Basically like an auto slideshow. Each picture has an ID that associates with the name of the category, so I could just call that ID and have the slideshow only show those pictures. So I'm just wondering about the slideshow script.
  9. I have a script that prompts a user for a download, the script also counts the download so I can track how many times the file has been downloaded.. The site works fine,, but the download counter seems to only work from time to time. Also, when I click the download link of the page, it seems to lock up the website, I can't refresh the page or click on any other links on the page, it just sits there. I can post up the code if someone has any ideas, thanks.
  10. I'm not sure if this is the right category to post this, but here I go. I have a site where someone can register to be a member. When they register, is there anyway for it to have them register their same username and password for my phpBB forum section? And when they log into my site, I would also like it to have them log into the forums. Thanks. Oh yeh,, as for the existing members,, I would probably have to enter them into the phpBB database manually? Thanks, if someone could point me in the right direction and give any pointers, that would be great.
  11. Anyone? I was thinking of changing hosting services if no one knows what to do. Thanks.
  12. Has anyone ever had this error in their log?
  13. Also,, here is my phpinfo But as I was saying, I never changed this since March 1st of this year. http://mvamaniacs.com/testingmvamaniacs.php
  14. I found a little more info from my errors log. It is telling me "Premature end of script headers". I don't understand why all of a sudden this is happening. I searched everywhere, but no one seems to have the answer. Could someone please help. Thanks, Justin In my last post I mentioned that max exec time was set to -1,,, I misread that, sorry.
  15. I have already modified my php5.ini months ago, I never changed anything, unless Godaddy did. They only thing that seemed kinda strange is that 'max execution time' in the .ini is set to '-1' Does that sound right?
  16. Here is the error everyone,, including myself are getting. Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, support@supportwebsite.com and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. -------------------------------------------------------------------------------- Apache/1.3.33 Server at mvamaniacs.com Port 80
  17. I have an upload script that has been working just fine for months now.. I didn't change a thing,, now people are saying they are getting a internal server error... I checked it myself and I am getting the same thing. There is no error number,, so I can't look it up.. My upload script is good for 30mb's and has been just fine up til now.. Any ideas? Could GoDaddy just be having probs? The error is only shown after the upload is started.. the upload starts, then about 30 seconds later, it appears.
  18. I searched all afternoon, and still can't find an answer. Anyone out there got any ideas?
  19. oh yeh, what i forgot to mention is that $row['video_loc'] is an embed code for a video. So what I'm looking for is this A link called 'watch' -----> which opens a new window which would display $row['video_loc'] which is the embed code.
  20. i think i'm close. what i'm looking to do is have a link named 'watch' , when clicked a new window will pop up to display $row['video_loc'] the 'watch' link is not showing up. it just shows two of my $row['video_loc'] records from the db. any ideas? echo "<a href=\"{$row['video_loc']}\" onClick=\"window.open('showimage.php?loc={$row['video_loc']}', 'window_name', 'width=900'); return false\">Watch</a>";
  21. I had a post in App Framework but i think that was the wrong section. Can PHP be scripted to allow users to upload videos to my youtube channel? Anyone have any direction to point me in?
  22. Not sure if this is the right section to post this. Instead of having users upload thier videos to my server I would like to have them upload to my channel on YouTube. From what I hear, this is possible. Anyone out there accomplished this? Or anyone have any pointers. Thanks.
  23. sorry everyone, for some reason everything is ok now. I apologize for this post. :'(
  24. Now I am in desperate need of help. I uploaded a file called php5.ini to my root directory on my server which contained max_execution_time = 600 max_input_time = 600 post_max_size = 30M upload_max_filesize = 30M then i checked phpinfo. and the change was made. but now i can't conect to mysql. which did not make sense to me. so I called godaddy and they said that since I uploaded a new php5.ini file, the file needs to be a complete php5.ini file with every possible variable inside of it. None of my sites work because they all connect to mysql. Does anyone know where to get a factory set php5.ini file or does anyone know how to fix my problem?
  25. one rep told me to get a copy of the php5.ini file and upload to my directory. of course changing the script timeout first. but he said he did not know if it would work. anyone know where to get this info at? I'll keep this thread open for a bit to see if someone chimes in with any personal experiences.
×
×
  • 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.