Posts
 
Reputation
Loading chart. Please wait.
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #2K
~3K People Reached
Favorite Tags

21 Posted Topics

Member Avatar for Awah Mohamed

Hi maybe you could try... when the user logs in: [CODE] $user = "logged-in/$username"; $user = fopen($user, 'w') or die('ERROR'); fclose($page); [/CODE] on logout: [CODE]unlink($username);[/CODE] to list users: [CODE] $users = sort(glob('logged-in/*')); foreach ($users as $user) { print $user; print '<br />'; }[/CODE] good luck :) Calum

Member Avatar for 84hd0ns
0
769
Member Avatar for svmer

Hello svmer, SSH and SSL are two different things. SSL is secure socket layer. Take gmail, for example, their URLs start with https:// not http:// the 's' means the connection is secure and encrypted. To use SSL, you need an SSL certificate, these are not normaly free. You can get …

Member Avatar for 84hd0ns
0
110
Member Avatar for retareed
Member Avatar for 84hd0ns

Hello, I would like to have a dynamic resize slider for a flash game, I am trying to do something like the slider here [URL="http://www.agame.com/game/funny-cars.html"]http://www.agame.com/game/funny-cars.html[/URL]. Does anyone know how I should go about this, my site is [URL="http://tsgs.tk"]http://tsgs.tk[/URL]. Thanks

Member Avatar for 84hd0ns
0
109
Member Avatar for morteza_ipo

Create a file called .htaccess and add [CODE]<Files Untitled.swf> order allow,deny deny from all </Files>[/CODE] Although this would deny access to the flash file even via index.html, so a better way would be to deny hotlinking. [CODE]RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^https?://myhostname\.com/.*$ [NC] RewriteRule \.(swf)$ - [F][/CODE] It would still …

Member Avatar for morteza_ipo
0
145
Member Avatar for tomjrjones

try [CODE] <?php if ($_GET['file']!=''){ if (file_exists("users/".$_GET['file']."")){ unlink("users/".$_GET['file'].""); } else {print 'The file does not exists.';} else {print 'Please enter a file name.';} ?> <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="get"> File to delete: <input type="text" name="file" /> <input type="submit" value="Submit" /> </form> [/CODE] Good luck :) Calum

Member Avatar for 84hd0ns
0
132
Member Avatar for rizla777

Hello, Try this in php: [CODE=PHP]<?php //The password $password = '123abc'; ?> <ul> <?php if ($handle = scandir('docs/')) { foreach ($handle as $file) { if ($file != "." && $file != ".." && $file != ".htaccess") { $doc .= '<li><a href="docs/'.$file.'">'.$file.'</a></li>'; } } } print $doc; ?> </ul> <?php if($_GET['action'] …

Member Avatar for 84hd0ns
0
191
Member Avatar for bangla

Hello, This might work: [CODE]<?php $to = "safiullah12@hotmail.com"; $subject = "test fname, email,phone,nn"; $Sender = $_POST["email"]; $message = " Name: ".$_POST['fname']."\r\n <br /> Email Address: ".$_POST['email']."\r\n <br /> Phone No: ".$_POST["phone"]."\r\n"; // Always set content-type when sending HTML email $headers = "MIME-Version: 1.0 \r\n Content-type:text/html;charset=iso-8859-1 \r\n From: ".$Sender."\r\n Reply-To: ". …

Member Avatar for 84hd0ns
0
226
Member Avatar for Aser Gado

Hi I would recommend using flat file databases as they would be eaiser to design. check out w3schools [URL="http://www.w3schools.com/php/"]http://www.w3schools.com/php/[/URL] Calum

Member Avatar for 84hd0ns
0
96
Member Avatar for bangla

Hi, open all the scripts that are the action of the forms and add at the top <?php header('Location: thankyou.html'); ?> Hope this works Calum

Member Avatar for 84hd0ns
0
143
Member Avatar for fuggles

Hi, Download the USB installer from [URL="http://www.pendrivelinux.com/universal-usb-installer-easy-as-1-2-3/"]http://www.pendrivelinux.com/universal-usb-installer-easy-as-1-2-3/ [/URL] then burn the iso to the USB. After this you will need to restart your PC and as it starts keep pressing the F11 key or the key that enables you to select boot device; Now you need to select USB and …

Member Avatar for 84hd0ns
0
120
Member Avatar for 84hd0ns

Hello I run ubuntu linux and I have just bought a new ipod touch You need itunes to set it up, which is, as usual, only available for Windows and mac (stupid apple for forgetting linux!!!). How can I set up my ipod? Thanks, Calum

Member Avatar for joejoe92
0
205
Member Avatar for 84hd0ns

Hi, I am trying to make a simple php photo gallery, I have this code, but the only problem is that the photos appear in a random order. How can I get the photos to appear alphabetically or numerically? [CODE]<?php if ($handle = opendir('photos/')) { while (false !== ($file = …

Member Avatar for 84hd0ns
0
168
Member Avatar for ivan3510

Hi ivan3510 On youtube they use this code to put videos in their pages. [CODE] <object width="640" height="385"><param name="movie" value="http://www.youtube.com/v/PIb6AZdTr-A"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/PIb6AZdTr-A" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="385"></embed></object>[/CODE] But youtube videos can also be accessed by going directly to the .swf file, in this case [url]http://www.youtube.com/v/PIb6AZdTr-A[/url] So, you …

Member Avatar for ivan3510
0
204
Member Avatar for RobotFX

Hi wattaman, You can use the code below, but you will need to add more search engines after the 8th line. [CODE] <?php $refurl = $_SERVER['HTTP_REFERER']; $refurl = explode("/", $refurl); $refurl = $refurl[0]."//".$refurl[2]; if ($refurl == www.google.com) echo "Add code here!"; if ($refurl == www.google.co.uk) echo "Add code here!"; if …

Member Avatar for RobotFX
0
154
Member Avatar for maestro2010
Member Avatar for 84hd0ns
0
112
Member Avatar for private bob4

If you want to display the online/offline information on another website or server, you could try [CODE]<html> <head> <title> <?php function GetServerStatus($URL, $PORT) { $status = array("OFFLINE", "ONLINE"); $fp = @fsockopen($site, $port, $errno, $errstr, 2); if (!$fp) { return $status[0]; } else { return $status[1];} } ?> </title> </head> <body> …

Member Avatar for 84hd0ns
0
81
Member Avatar for nevergone

if you mean disable hotlinking then try [URL="http://tools.dynamicdrive.com/userban/"]this[/URL]

Member Avatar for 84hd0ns
0
57
Member Avatar for notmasteryet
Member Avatar for raju_boini525

[QUOTE=raju_boini525;1248582]hi all, i am working on a project. my project needs videos tv( Playing videos flash player). my reference site is [URL="http://www.zooweekly.com.au/zootube/index.htm"]http://www.zooweekly.com.au/zootube/index.htm[/URL]. I need that type of flash player. is it passible to do it. can you guide me plz...[/QUOTE] there is a program called [URL="http://www.dvdvideosoft.com/free-dvd-video-software.htm"] free studio[/URL] that you …

Member Avatar for diafol
0
162
Member Avatar for sadeeshero

[QUOTE=sadeeshero;1262743]any one have video uploading coding[/QUOTE] I don't know what you mean.

Member Avatar for 84hd0ns
-2
30