Search found 222 matches

by Mysoogal
Mon Jan 04, 2010 12:32 am
Forum: PHP & MySQL
Topic: php pagination
Replies: 12
Views: 10917

Re: php pagination

neo, many thousands of thank yous its working great just had to change little thing under $folder so it points to the thumbs $folder = 'C:/ProgramData/Wamp/www/dataStorage'; // Change this to your folder   thank you NEO ! again :D again lol i just need to find where this is coming from http://i46.ti...
by Mysoogal
Sun Jan 03, 2010 11:47 pm
Forum: PHP & MySQL
Topic: php pagination
Replies: 12
Views: 10917

Re: php pagination

no idea didnt allow me to post full code <?php require('_drawrating.php'); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Silverglow</title> <meta http-equiv="Conte...
by Mysoogal
Sun Jan 03, 2010 11:46 pm
Forum: PHP & MySQL
Topic: php pagination
Replies: 12
Views: 10917

Re: php pagination

thank you neo, but im not sure where to add this code below i need the output formated as it was in echo " blaa blaa " in my code, i have my setup as this ./dataStorage/$file this gets my thumbnails ./dataStorageVideo/$file.flv this get my flv from Echo " " ;   <a href="\" onclick=\"player.sendEvent...
by Mysoogal
Sun Jan 03, 2010 3:42 am
Forum: PHP & MySQL
Topic: php pagination
Replies: 12
Views: 10917

php pagination

can anybody teach me how to add pagination to a php directory code that does not use mysql, :D code i'm working on  <?php $path = "./dataStorage"; $dir_handle = @opendir($path) or die("Unable to open folder"); while (false !== ($file = readdir($dir_handle))) { if($file == "index.php") continue; if($...
by Mysoogal
Sun Dec 27, 2009 12:38 pm
Forum: PHP & MySQL
Topic: i'm having issue with php / "" '' etc
Replies: 5
Views: 4914

Re: i'm having issue with php / "" '' etc

thanks,top my menu had div and would overflow in ff.

thanks for fix :D
by Mysoogal
Fri Dec 25, 2009 2:03 pm
Forum: PHP & MySQL
Topic: i'm having issue with php / "" '' etc
Replies: 5
Views: 4914

Re: i'm having issue with php / "" '' etc

does anybody know why that above code is not working on firefox ? :cry:

it works on IE8 and IE7 why not firefox ?
by Mysoogal
Fri Dec 25, 2009 1:57 pm
Forum: PHP & MySQL
Topic: i'm having issue with php / "" '' etc
Replies: 5
Views: 4914

Re: i'm having issue with php / "" '' etc

i got it to work after all lol took me such long time

Code: Select all



echo " <div class=\"photo\">
        <a href=\"#\" onclick=\"vlc_controls.play('http://89.238.172.210/movies/$file.mkv')\">
        <span>
        </span>
        <img src=\"data/$file\" alt=\"$file\" /> </a>
        </div> ";

 
by Mysoogal
Fri Dec 25, 2009 12:30 pm
Forum: PHP & MySQL
Topic: i'm having issue with php / "" '' etc
Replies: 5
Views: 4914

i'm having issue with php / "" '' etc

i'm trying to code a video streaming script based on videolan plugin, and ssh to do the backend ffmpeg,mencoder etc i'm done so far a index.php which lists thumbnails and file url but im stuck here <a href="#" onclick="vlc_controls.play('http://code.revolunet.com/VLCjs/rambo.mpg')">rambo trailer</a>...
by Mysoogal
Wed Dec 23, 2009 5:35 am
Forum: PHP & MySQL
Topic: restart apache2 from php
Replies: 0
Views: 1688

restart apache2 from php

<?php $submit = $_POST['submit']; if($submit == "Restart") { $message = '<p>Apache is being restarted</p>'; exec('/etc/init.d/httpd graceful'); $message .= '<p>Apache was restarted</p>'; } echo '<html><head><title>Apache Restart</title></head><body>'; echo $message; echo '<form action="" method="po...

Go to advanced search