Jump to content

predator

Members
  • Posts

    58
  • Joined

  • Last visited

    Never

Everything posted by predator

  1. i have iis and php installed locally
  2. Hi i have a script that sends the download prompt to the use. Now the file downloads on a webserver i use but on my local machine the file does not download and it just errors that it cannot be downloaded. is this a settin on iis or is it in the php ini? regards mark
  3. surly then if you are makin a "template" folder as it were called forum0 to run all these on the other folders you could use the file_exist function? Regards Mark
  4. Of course... but as pointed out above, after it being suggested twice before you, that doesn't help in this case. alrite mate he was only trying to help no need to snap back at him. anyway why will the file not exist that you are including? can u elaberate a little more
  5. in which way do you mean create mate. do you mean like making it from scratch so you have nothing or converting a file to mp3 format? Regards Mark
  6. just a quick note if you are keeping the link http://www.illustrationmundo.com/audio_index.php?&page=1&page=2&page=3 that will not work it should be http://www.illustrationmundo.com/audio_index.php?page=1&page=2&page=3 the first $_GET value is just put after the question mark. However all URL passed information after that is "added" to the list with the use of & for example www.domain.com/index.php?test=1&test=2
  7. predator

    strlen

    Hey. if your capping the text at 170 characters then it will cut off what ever is the 171 and more. A way to get around this would be to see what the last 3 characters are and through an if statement check if they are == to [/i or [/b or something like that. then if they are add the extra ] to the string to close it. Regards mark
  8. thanks very much mate the worked a treat. Regards Mark
  9. Hi i have the following code which is not prompting to download automatically can anyone help me so the save dialogue box auto pops up so you can save it as the correct file type please. thanks Mark <? //header('Content-Type: application/octet-stream'); header("Content-Type: text/Calendar"); header("Content-disposition: inline; filename=foobar.ics"); // then here's all your output for the file ?> BEGIN:vCalendar<br /> VERSION:2.0<br /> METHOD:PUBLISH<br /> BEGIN:vEvent<br /> DTSTART:20080112T190000Z <? /*DATE AND TIME EVENT STARTS 20080112T190000Z */?><br /> DTEND:20080112T190000Z <? /*DATE AND TIME EVENT ENDS 20080112T190000Z */?><br /> UID:1032356281<br /> DTSTAMP:20081223T190000Z <? //THIS IS CURRENT DATE?><br /> DESCRIPTION: MESSAGE SHOWN HERE US \N TO DO A BREAK LINE<br /> SUMMARY: THIS IS THE TITLE PAGE<br /> PRIORITY:3<br /> BEGIN:vAlarm<br /> TRIGGER:P0DT0H15M<br /> ACTION:DISPLAY<br /> DESCRIPTION:Reminder<br /> END:vAlarm<br /> END:vEvent<br /> END:vCalendar<br />
  10. any one got any idea? please i am completlylost
  11. Hi i have made a script to d/l files automatically and it works spot on in firefox and ie. however when i try it on safari it just does not work. has any one got an ideas? it is a header to force the d/l. Cheers Mark
  12. Hi all, i need to make a weekly calendar and i just dont know where to start. i have search these forms and it just baffles me. I need the calendar to show on the begining of the week i am currently on in real time ( so if i am on tuesday the 20th the calendar will start on sunday the 18th). any help is appreichiated. Regards mark
  13. hi mate can i have a look at all the code please as the table is not here regards Mark
  14. cheers andy thanks for the help Regards Mark
  15. Hi all, what i want to do is send data from one open page to another. for example in php my admin there is a calendar you can open next to date text fields. once you clicked your date it sends the date you select back to the original windows text box so you dont have to get the user to type it in manually. i am fairly new to using javascript and dont no much at all so please can someone help as i am really stuck on this. thanks mark
  16. o right got ya tanks dude worked straight away after i changed it Regards Mark
  17. i am entering the date in the format of 22-06-2007
  18. do you want to do it so if shows something like this Description: this is like a chopped ver..... (the above shows there is more text then what has been echoed) or do you just wanna word limit the text so no more that 250 characters cannot be entered. Regards Mark
  19. hey man this is what needs to be done $SQL = "SELECT * FROM Member WHERE loginName='".$_SESSION['MM_Username']".'"; $query = mysql_query($SQL) or die("cannot check"); $res = mysql_fetch_assoc($query); $adminChk = $res['status']; if($adminChk == "admin") { //do this if it is admin } else { // do this if it is not admin } IF YOU NEED ANY EXPLAINED JUST ASK regards Mark
  20. hey npsari order just by date desc and see if this helps. Regards Mark
  21. Hi all i have a problem with my php and mysql i am trying to right a date into the mysql database but when i get the date from the html form and do strtotime on it it goes to an invalid date (by this i mean it is not the date i entered in the html form so for example 22-06-2007 changes to 28-11-2027). can anyone help me as this is really annoying and has been happening for like 3 to 4 days now and i just cannot work it out. i am calling the correct field so i dont no what is happening can anyone help please. Regards Mark
  22. right just checked and made sure they are all uploadedfile and also the file input is uploadedfile as well but still with a simple check it shows that no file is being passed from the form to the actual upload script. regards Mark
×
×
  • 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.