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 Complete Forum Thread with Replies
Related Forum Messages:
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 !
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 !
View Php Files
i got this website which is designed by PHP, but i'm wondering how can i view the website on my computer. i'm running windows 2000 platform and IIS. any specific setup i can do then i can view the website freely?
View Replies !
View Folder Files
i am looking for a script (in php) which would list the contents of a certain folder on my server and be also able to delete selected files.
View Replies !
View But Not Browse Uploaded Files
On a shared server over which I have no configuration control... Can PHP upload files (pic, pdf, doc...) to a folder outside/above the web root but then make them available for display in a browser via links? /my_root /email /uploaded_files <--- put files here /www <--- my html and php are in here If so, how would I generate the links? I have tried reading the directory and creating file links with the full path (example: /server/user/my_root/uploaded_files/pic.jpg) but this doesn't work.
View Replies !
Define Files For View/edit/delete
I am working on this little file manager project, I know, there's lots out there. However, I couldn't find one that paged the results that didn't use a DB. Now that I have it set up (works great), I'm not sure how to define the files and not mess up the paging - so that if it's a folder you can open it and work with the files, a photo you can view or delete it and if it's a .txt, .php. etc. you can edit it. Code:
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 !
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 !
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 !
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 !
Read File From My Computer To Web Server
I want to know how to read a file from my computer and not on the web server. For example, I upload the script to my web server and view it from my home computer. How can I make the script read the file from my computer? I am wanting it to read the file and write it to a new file with the same name on my web server.
View Replies !
Zend Studio Freezes My Computer
I have Windows XP - I thought that might be relevant. Oh also, thought I should just include it here - PHP 4.1 have session problems? Because I downloaded 4.3.x and I no longer have problems with the code that did not work with version 4.1.
View Replies !
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 Replies !
Write The Contents Of Textarea To Another Computer
I want to write the contents of textarea to another computer that has an FTP server running. Presently I write the contents to a file and then use ftp_put to transfer the file. Is there a way to skip writing and deleting the file locally and just ftp the data from the textarea? Is there a better way to do this?...
View Replies !
Write To A File On An External Computer?
Is it possible for me to write to a file on an external computer? I am building a site where i want the users to be given an unik id the first time they contact the site through a piece of software which i have developed. Their username is found in a settings file on their local harddrive and is sent to the server when they request infromation from the server. Now i want to be able to change the string in the settings file so that after the first request to the server it will contain their unik id as well. Is this possible?
View Replies !
|