|
|
#1 |
|
Member
![]() Join Date: Nov 2009
Posts: 190
Likes: 27
Liked 88 Times in 57 Posts
Mentioned: 11 Post(s)
Tagged: 0 Thread(s)
|
accessing ps3 directory trought php server
I have a php code to access and edit files on the server,is possible to make a php code on the server to see and download files from ps3??
|
|
|
|
|
|
#2 |
|
Senior Member
![]() Join Date: Aug 2011
Posts: 1,270
Likes: 179
Liked 839 Times in 391 Posts
Mentioned: 61 Post(s)
Tagged: 0 Thread(s)
|
tbh don't see any advantage versus what you can do already through a ftp client..
|
|
|
|
|
|
#3 |
|
Member
![]() Join Date: Nov 2009
Posts: 190
Likes: 27
Liked 88 Times in 57 Posts
Mentioned: 11 Post(s)
Tagged: 0 Thread(s)
|
my brother ps3 is on ofw 4.11( I can't install a ftp client on it),so I think I can take out some files from it
|
|
|
|
|
|
#4 |
![]() ![]() Join Date: Sep 2010
Location: Just ask Sony !!
Posts: 3,556
Likes: 1,186
Liked 1,755 Times in 1,027 Posts
Mentioned: 86 Post(s)
Tagged: 0 Thread(s)
|
You need Apache for that.... so you need Linux.... Call $ony and demand it back
__________________
Sony just lost the PS3's chastity belt keys, secret fun spots are open to explore ...
![]() |
|
|
|
|
Likes: (1) |
|
|
#5 |
|
Hired Gun
![]() Join Date: May 2011
Posts: 6,781
Likes: 2,570
Liked 3,310 Times in 1,839 Posts
Mentioned: 980 Post(s)
Tagged: 1 Thread(s)
|
Linux? he can mount an apache server on windows too.
__________________
Check Blacklist of FAKE devs
Check Whitelist of TRUSTED devs Tutorial : DEX conversion (TEST-DEBUG) One thread with all DEX information published so far. One thread with PS3 LV0 keys, CFW'S and many more. PS3devwiki your number 1 source. Check it. Console ID's Market Warning thread PS3 Ban, CFW, Unban. How to avoid it. |
|
|
|
|
|
#6 |
![]() ![]() Join Date: Sep 2010
Location: Just ask Sony !!
Posts: 3,556
Likes: 1,186
Liked 1,755 Times in 1,027 Posts
Mentioned: 86 Post(s)
Tagged: 0 Thread(s)
|
I think the PS3 has to act as a PHP server? Just like with FTP?
I work with XAMPP on Windows for testing my webshop locally so I know I can use Apache on it
__________________
Sony just lost the PS3's chastity belt keys, secret fun spots are open to explore ...
![]() |
|
|
|
|
|
#7 |
|
Hired Gun
![]() Join Date: May 2011
Posts: 6,781
Likes: 2,570
Liked 3,310 Times in 1,839 Posts
Mentioned: 980 Post(s)
Tagged: 1 Thread(s)
|
__________________
Check Blacklist of FAKE devs
Check Whitelist of TRUSTED devs Tutorial : DEX conversion (TEST-DEBUG) One thread with all DEX information published so far. One thread with PS3 LV0 keys, CFW'S and many more. PS3devwiki your number 1 source. Check it. Console ID's Market Warning thread PS3 Ban, CFW, Unban. How to avoid it. |
|
|
|
|
|
#8 |
|
Member
![]() Join Date: Nov 2009
Posts: 190
Likes: 27
Liked 88 Times in 57 Posts
Mentioned: 11 Post(s)
Tagged: 0 Thread(s)
|
k ,I will explain
I have a web server (with apache,php ,mysql ) more simple xampp, on windows 7 I have a code and with it I can see,modify,copy,download files from local directory(from server),from another pc I ask if there is a way so I can download ,and see files from ps3 when access my web server??? this is the code <?php $allowed_dir = "lang"; //Set the allowed path (Chmod them first) //Allowed extensions $valid_ext[1] = "php"; $valid_ext[2] = "PHP"; $valid_ext[3] = "html"; $valid_ext[4] = "HTML"; function directory($directory, $recursive) { $me = basename($_SERVER['PHP_SELF']); $array_items = array(); if ($handle = opendir($directory)) { while (false !== ($file = readdir($handle))) { if ($file != "." && $file != ".." && $file != $me && substr($file,0,1) != '.') { if (is_dir($directory. "/" . $file)) { if($recursive) { $array_items = array_merge($array_items, directory($directory. "/" . $file, $recursive)); } } else { $file = $directory . "/" . $file; $array_items[] = preg_replace("/\/\//si", "/", $file); } } } closedir($handle); asort($array_items); } return $array_items; } $HTMLOUT =''; $HTMLOUT .= "<form action='editor.php' method='post'>"; $HTMLOUT .= "<select name='target_file'><option value='0'>Please choose a file to open</option>"; $filelist = directory($allowed_dir, true); foreach ($filelist as $file) { $ext = substr(strrchr($file, '.'), 1); if (in_array($ext,$valid_ext) && is_writable($file)) { $HTMLOUT .= "<option value=\"$file\">$file</option>"; } } $HTMLOUT .= "</select><input type='submit' class='btn' value='Select!' /></form>"; if (isset($_POST['file_to_edit'])){ $nombre_fichero = stripslashes($_POST['file_to_edit']); $DescriptorFichero = fopen($nombre_fichero,"w"); $string = stripslashes($_POST['edit_file']); fwrite($DescriptorFichero,$string); @fclose($DescriptorFichero); } if (isset($_POST['target_file'])){ $target_file = stripslashes($_POST['target_file']); $fichero_texto = fopen ($target_file, "r"); $contenido_fichero = @Fre ad ($fichero_texto, filesize($target_file)); $HTMLOUT .= "<div style='text-align:center;width:80%;border:none;'> <div style='background:lightgrey;height:20px;'> <span style='font-weight:bold;font-size:10pt;'>Editing File: {$target_file}</span></div></div><br/>"; $HTMLOUT .= "<form enctype='multipart/form-data' method='post' action='editor.php'>"; $HTMLOUT .= "<input type='hidden' name='file_to_edit' value='{$target_file}' />"; $HTMLOUT .= "<table class='main' width='80%' border='0' cellspacing='0' cellpadding='0'> <tr> <td class='embedded'> <table width='100%' border='1' cellspacing='0' cellpadding='2'> <tr><td align='center' class='colhead'><h2>File Editor</h2></td></tr> <tr> <td><textarea name='edit_file' rows='30' cols='117'>" . htmlspecialchars($contenido_fichero) . " </textarea></td></tr> <tr><td align='center'><input type='submit' class='btn' value='Edit!' /></td></tr></table> </td></tr></table></form>"; } print $HTMLOUT ; Last edited by enosrasun; 03-28-2012 at 09:06 AM. |
|
|
|
|
|
#9 |
|
Hired Gun
![]() Join Date: May 2011
Posts: 6,781
Likes: 2,570
Liked 3,310 Times in 1,839 Posts
Mentioned: 980 Post(s)
Tagged: 1 Thread(s)
|
So i was right.
Your problem @enosrasun it's windows as far i see in the code i see no way to *browse* via your server to see the content of PS3. If your console is with CFW/Jailbroken...it's another thing. Another thing if you have a router like a WRT54G/L you can modd it and make it a Linux box. (i done it, to try to something similar to what you saying.).
__________________
Check Blacklist of FAKE devs
Check Whitelist of TRUSTED devs Tutorial : DEX conversion (TEST-DEBUG) One thread with all DEX information published so far. One thread with PS3 LV0 keys, CFW'S and many more. PS3devwiki your number 1 source. Check it. Console ID's Market Warning thread PS3 Ban, CFW, Unban. How to avoid it. |
|
|
|
|
|
#10 | |
![]() ![]() Join Date: Sep 2010
Location: Just ask Sony !!
Posts: 3,556
Likes: 1,186
Liked 1,755 Times in 1,027 Posts
Mentioned: 86 Post(s)
Tagged: 0 Thread(s)
|
You run a simple xampp on PC1 and you can access PC1 through PHP with another PC (PC2)? If you want to do this with the PS3, the PS3 still has to act as server? Maybe simple on open Windows but impossible on closed PS3 OFW...
__________________
Sony just lost the PS3's chastity belt keys, secret fun spots are open to explore ...
![]() |
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
|
|