Check Local Computer Script
I am trying to do is create a script that searches the local computer of the user and if a filename is there, it will upload it to the mysql database. Then, another script that searches for a filename on the database and if it's there, to ask the user if they would like to send it to their local computer. Any suggestions?
View Complete Forum Thread with Replies
Related Forum Messages:
Parse PHP On Local Computer
Running Windows XP (Home) and would like to be able to parse PHP locally without having to upload files to my host server and view them there. I know I can install PHP on my PC, but what is the simplest way to set it up as a local server, preferably without needing to install Apache as well?
View Replies !
How To Upload Website From Local Computer
i have made my website on my local computer. and now i'm trying to upload it into server. but some errors happen, and these errors aren't show up in my local computer. please give me suggestion about making website in local computer and then uploading it.
View Replies !
Parsing HTML Files On Local Computer
I would like to be able to open and read HTML files that are on my local (client) computer and then parse them to extract some specific information they contain. I've been looking here and reading my PHP books, but it appears to me that PHP only opens files on the server or URLs. It think that makes sense to me. Is there an alternative?
View Replies !
Saving Email Attachments To Local Computer
I receive a daily email attachment, which is a zipped .csv file. I am trying to write a script that is able to read this csv file. Currently I am using the IMAP function and I am able to access my mailbox and get the name of the attachment, but this is where I've hit a stopping point. Is it possible to save the attachment to my local computer? From there I could use the zip_read function. I have tried file_put_contents, but that doesn't seem to work because of the .zip format.
View Replies !
Hyperlink From Intranet Web Page To Local Files On My Computer
I'm creating a company intranet, and every employee has certain program we want them to be able to run from it, meaning we want the link to the program to be on the intranet page. For example, Adobe Photoshop resides on all the employees computer under "C:Program FilesAdobePhotoshop 7.0Photoshop.exe" However, when I enter that as a hyperlink on the page, it does not run the program. Is there a way to get a web page to run a program on the local host?
View Replies !
Passing Form Data To An Email Address/Excel Sheet On A Local Computer
I am right now learning PHP & want to know if there is a way to send web form data to an Excel sheet located on a network. My windows xp PC doesnot have a copy of Excel. Also i am not connected to the internet, its a local computer. What i am trying to do is to make a PHP script which will send a simple form data to an excel sheet (or create a new Excel sheet) on another PC on a network. Since i am not connected to the internet, i will not be able to send an email (anyway, sendmail is not available on Windows OS), nor do i have any server on windows. Is it possible to send form data to Excel sheet on local computer? Even my PC is a local PC. Some one was saying its possible thru Windows Scheduler.
View Replies !
Check If A User Has Properly Open His Port On His Computer
I need to check if a user has properly open his port on his computer. He will call a script specifing the port he want to use and the script will have to check if he can open a socket on the IP:Port. Here is a what I have tried but it doesn't work, even if the port is properly open : -----------------------------Script ------------------ <?php ob_implicit_flush(); if (($sock = socket_create(AF_INET, SOCK_STREAM, SOL_TCP)) < 0) { die("socket_create() failed : " . socket_strerror($sock) . " "); } if (($ret = socket_connect($sock, $address, $port)) < 0) { die("socket_connect() failed : raison : " . socket_strerror ($ret) . " "); } echo "connected "; socket_close($sock); ?> -------------------------End Script ---------------------
View Replies !
How To Write A Cookie To The Users Computer And Then Check To See If That Cookie Excists Before?
I've used sessions quite a bit, but I have never used cookies that are on the users computer. In this project I am working on I need to have the user enter username and password and then if it's correct set a cookie on their computer that allows them to open new browser windows without having to re- enter the password. This isn't possible with sessions because when the browser is closed then the session ends. Bascially, I just need to know how to write a cookie to the users computer and then check to see if that cookie excists before allowing access to certain pages.
View Replies !
LOAD DATA LOCAL INFILE - Workaround For Local-infile=0
I'm using a PHP script for updating my database which relies on the "LOAD DATA LOCAL INFILE" command. As my provider recently updated the MySQL-database, he changed the "local-infile" setting to zero, i.e. my update-script doesn't work anymore (=> "The used command is not allowed with this MySQL version"). Is there a work-around to fix this problem? I though about the mysql_options command, but to frankly speaking, I have no clue how to use it and couldn't figure out how to properly use it even after reading the manual ... anyone who could help?
View Replies !
Ftp From Web To My Computer
I wonder if any one can point me to some information. I am fairly new to this so please excuse my ignorance I have setup an ftp server using Cerberus & DynDns which successfully allows me to upload files from a remote location to my PC. Thats all good. I have also created a web page that allows me to upload a file to my web server. I want to combine the 2 processes so I can use the web page to upload to my PC. I hope this makes sense because I am not sure how else to explain it. Please help if you can or direct me somewhere else.
View Replies !
Cookies Set On Any Computer
i am facing probs with cookies,in the sense it gets set on many machines but misses out on few. The browser remaining the same,what i would like to know is, the problem behind it,can i add something to the code where in it gets set on and any computer.
View Replies !
Uploading From URL & Computer
I have this script for uploading images from a computer, but I need to be able to upload using URL's as well, here is the portion of the script I think needs to change, if you need more let me know... Code:
View Replies !
Blocking A Computer
How can I make it so if a certain computer(s) come to my website they will re-directed to a certain page? The person that I want to do this with has a router, so he has a different IP adress every time he turns it off then back on. Is this still possible though?
View Replies !
Unique Computer Id?
Is there any way of accessing the computer's serial number through PHP? This would be useful for identifying a computer, rather than the IP address.
View Replies !
Computer Logon Etc
I'm developing an intranet for my department. I usually develop on my test server and, once everything is ok, move the files, functions, etc to the production server. A little while ago I developed an application for which I needed to have the computer logon captured. So, I removed the "anonymous access" in IIS and selected "Integrated Windows Authentication". Then, when I used the $_Server['logon user'], I was able to capture the user logon. It all worked fine, until I decided to move the files to the production server, however, I keep getting a dialog box asking me to "login" the pages. What am I doing wrong? Did I forget some setting on my "twin" production server? Is there something more I need to check besides checking off the "anonymous authentication"?
View Replies !
Computer Identification
I am curious if anyone knows of any other methods other than by the IP & MAC to identify a individual computer. in particular does anyone have a piece of code that can gather the remote computer name & or drive identification?
View Replies !
Shutdown Computer
I run an online radio station, and am in need of a method to shutdown or restart the computer running the station in case of errors etc. I noticed the delphi program idea someone posted earlier, but I dont have possesion of any way to compile delphi code or any knowledge of delphi. I could use to solve this problem?
View Replies !
Server On Computer
Is there some software which can imitate PHP server but when I'm offline and it's located on my computer? Because I use dial-up, and I can't connect to Net whenever I want and test my site, I'm just curious if this is maybe possible.
View Replies !
Where Session ID Save On My Computer?
I use session with my page. My configuration in php.ini like this. session.save_path= C:PHPsessiondata session.use_cookies=1 session.use_trans_sid=1 (I also change to 0) I know that session ID save both client and server. On client save only session ID On server save both Session ID and Data and I see session file in c:phpsessiondata but I don't know where it save session ID in client. becasue not session ID in URL and not cookie on my computer. Where session ID save on my computer?
View Replies !
Way To View PHP Files On Your Computer?
Is there a way to view what certain PHP files will look like, without having to upload them to your server? I'm testing out page layouts, and its kind of a pain to upload it every time to see what it looks like.
View Replies !
PhpMyAdmin (securing My Computer)
I am worried about other people accessing my computer. right now i am in config mode in the config.inc.php file. If i switch to HTTP mode, how do i setup .htaccess. I am a web/programmer newbie and im not sure where to start. i read through the howto about htaccess and got nowhere. from what i understand they said not to use htaccess if you don't have to.
View Replies !
How To Uniquely Identify A Computer
can anyone tell me is there any way to uniquely identify a computer connected to a site, i am already doing this with the ip but i need a second means as that does'nt work with internal networks that are all connected to the internet via one computer.??
View Replies !
Cookie Problem With A Computer
I have a problem with cookies on an intranet page created in PHP. All the computers on the network except one works with cookies!! I though it was a general cookie problem, but every other site works, this includes hotmail and so on.. I even opened up the cookie directory and new files are created for every site visited except the intranet page. Why is this? Why is it happening to only one computer while all the other computers work fine?
View Replies !
Opening A File From Your Computer
How would you open and read a php file that is in your hard drive and use it inside a php script that is run on a server. Example: security.php - file located on the server would have something like this PHP Code:
View Replies !
Orders Sent Via Computer To Fax Machine
I have a client that wants an online menu built for his web site! My client wants his customers to place orders via internet, and in return he'll have the orders ready at the desired time! Now for the kicker! he has no internet connection at his restaurant. Can a form be built to send the information via computer to his fax machine? If so, please tell me how or point me to the tutorial.
View Replies !
Palm Based Computer
I am looking for a way to write PHP apps on a Palm based computer. Why? Because I like PHP, and the whole Palm OS paradigm is very web-server like (from a user point of view). If the you envionsion a plam screen as a web browser and the Palm DB as either a database or file system, you could easily and quickly build PHP apps for palms. I have several apps I would like to crank out - however cranking out C/C++ code is no longer my specialty and the nuances for Palm involve a learning curve that I never have enough time to conquere (I have put together several Palm apps in the past - and now it seems I struggle with "hello World". Why would you create a system that is so difficult to change strings of things like labels? Code:
View Replies !
SMTP To Many Crashes Computer
We're a software company and have just converted to using SMTP to mailout rather that the php mail() function. The way it works is send 40 emails out, sleep for 3 seconds, send another 40, sleep for 3 seconds etc etc. This works fine for smaller amounts but some of our clients are mailing to 1000+ people and they claim its crashing they're computers.
View Replies !
SESSION Works On One Computer
basic program. session_start(); if (isset($_SESSION['ordernumber'])) { $order = $_SESSION['ordernumber']; } else { ... generate order number... $_SESSION['ordernumber'] = $order; } On one computer the order number is kept between invocations of the page, on another it isn't and a new order number is generated each time. Both have cookies enabled and both run windows xp.
View Replies !
Connect To MySQL.on A Different Computer?
I have an Dell 2400 with SuSE 9.3, Apache 2.0.54, and another server on the network, Windows XP SP2, and MySQL 5.0. If I run this script from a website: <php $username = "<whatever>"; $password = "<whatever>"; $hostname = "<WHAT GOES HERE?>"; $dbh = mysql_connect($hostname, $username, $password) or die("Unable to connect to Mysql"); print "Connected"; ?> What do I put for the host name? Do I put the local ip address?
View Replies !
Send Notification To My Computer From A Website... Possible?
I run a community website (forum and wiki) that is updated perhaps once every 10 minutes by a user. My bandwidth usage is quite high because the 40 users generally sit there pressing F5 to see if anything has been added. I do keep images small, but still... I wonder, would it be possible using PHP (or cgi, or whatever, really, I'm open to suggestions!) for the website to send out some kind of signal to users saying "I've been updated" so that they don't need to refresh so often? I know how to send anonymous emails using PHP so I could use that, but I imagine people don't want their inboxes getting cluttered with about 200 "I'm updated" emails each day! I suppose I could make a very small simple php page that reads "most recent changes" from an SQL table so people could refresh that instead of the main page, but I don't imagine people would bother to, because it'd be easier for them to just keep one main window open. It would be nice if there was something like the MSN Messenger feature where it sticks it head over the system clock in the bottom right of the screen and says "so-and-so has just come online". If it popped up and said "new post on the forum" or "wiki has been edited" that would be really cool. TBH I can't think of any way to do it, but I thought I'd throw the idea up here and see if anyone knew a way :)
View Replies !
|