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 Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
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 !
Link To Local Files Through A Dynamic Page
I decided to flesh out my php skills by building a web application which could scan through local files on my intranet (specifically mapped drives on my server) and generate a list of Movies or pictures or music, etc. Which worked fine, I created the code to do that and to store the results in a mysql database. I can even print it out to a ..php page and sort it however I like. What I can't seem to do is to create links to the data I've indexed in a way that will let me open them from the generated php page. I've searched and searched and there just doesn't seem a way to do this. I'm pretty sure I've exhausted the obvious options. The following trials did not work when the document was served from an apache web server. <?php echo "<h1><a href=file:///c:/temp.txt> HEY </a></h1>"; echo "<h1><a href=file:///c: emp.txt> HEY </a></h1>"; ?> <a href=file:///c: emp.txt target="_top"> temp.txt </a> <a href=file:///c:/temp.txt target="_top"> temp.txt </a> When the same page was loaded directly from the file instead of served through apache the bottom two links worked. This doesn't really help me however. I need to be able to dynamicly generate pages that link to the files. I've read that browser security is the restricting factor in this but changing all of my security settings in IE to low didn't seem to affect it (not sure what the equivalent of security settings is in Firefox). Does anyone know of a way to link to local files directly in a way that lets you open them directly from the source instead of by downloading them to a temp file or saving the file to somewhere locally? Is it even possible in PHP?
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 !
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 !
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 !
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 !
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 !
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 !
HTML Web Page Hyperlink To Php Web Page
I am still having a problem parsing a html page with php. Code in my HTML is <? php echo '<a href="index.php">Home</a><br /> <a href="login.php">Login</a><br /> ' ?> However the link is to the Login page is: file:///C:/Program%20Files/Apache%20Group/Apache2/htdocs/TeeJayUu/login.php I am using PHP 5.0.2, Apache 2.0.52, MySQL 4.0.21, and Windows XP SP2. All pages are in the htdocs folder and the following instructions have been followed: - Copy php5apache2.dll to Apache's module dir and rename it to mod_php5.so; - Copy php5ts.dll to Apache's bin dir. Finally, add the following line to your httpd.conf file: LoadModule php5_module modules/mod_php5.so Apache has been stopped and restarted. Help - I am lost for what else to do. I want to keep this local until I have got it working.
View Replies !
Hyperlink And Posting To New Page!
I have a page where I have done a successful query and get search results displayed. Now I would like a link activated so that they can click on the name and go to new page with further details about that company like address hours etc.
View Replies !
Identifying A Page Via Hyperlink
I have a page (product_wide.php) that displays sale items. In that page, I "include" a 2nd page that contains hyperlinks to general item categories. The hyperlinks in filternavbar point to product_wide, and display items from the category selected. I need a way, using the same hyperlinks I am using now in filternavbar, to tell, from product_wide, that it was from filternavbar that the link was clicked (as opposed to some other page in the site that takes you to product_wide. I can't change the configuration of the filternavbar url because of duplicate content issues with google.
View Replies !
How To Open Random Flash Page Using Hyperlink?
I'm new to using PHP so please bear with me. I'm trying to create a hyperlink that will open a random Flash page so that users will see a different flash module each time. Here is some of the code that I wrote but I'm not sure if it'll work since I'm not very good at coding. Oh yeah, I'm not using a database either. // random_menu.html <head> <?php $i = rand(0,3); ?> </head> <body> <a href = "www.x.com/random.php?i=$i">x</a> </body> --------------------------- // random.php <head> <?php $i = $_post["i"]; if ($i = = 0){ $value = "a"; } else if ($i = = 1){ $value = "b"; } ...etc. </head> <body> <object> <param name="movie" value="$value"> <embed src="$value"></embed> </object> </body> Please help if you know how to do this.
View Replies !
Multiple Local PHP Files
I'm making a page using PHP, and including varios files for navigation bars and such.. However, my problem is that I can't include multiple PHP files locally. After including the first one, everything after that has to be an html include, or a remote php include. PHP Code: <?php echo <<<BEGINHTML <html> <head> </head> <body> BEGINHTML; //This will print include("banner.htm"); //As will everything from here to echo " ##Printed banner ";.....
View Replies !
Viewing WordPress PHP Files On Local PC
I am looking for a way to open WP's files on my local machine that will allow me to view them "in a clean" - line by line - way. In other words, I'd like to view the code in a way that I could begin to understand the step-by-step logic of the code. What is the trick, if any, that might allow me to somewhat unscramble the code? Code:
View Replies !
Writing Files To Local Machine
Does anyone know how to, using PHP or other, to automatically write files from a mySQL database on a server to a local machine? Basically the reason I need it, is that the database will be continually getting new data from various users, and I want the information to be copied to a local file on my own computer every 15 minutes or so (just continually rewriting the file on my local machine, with the newest data). This way, if there is a server error, or internet connectivity issues, I will still always be able to access the latest data by opening the file on my local machine.
View Replies !
Download Files From Remote Server To Local Webserver
I am trying to create a php page whereby people can download files from a remote server to their own server (to update their webdirectory with updated files/images etc). So for example one php page (e.g. update.php) should be able to download files from a remote server to a specific directory on their local webserver. Is this possible?
View Replies !
Problems Uploading Files Using Apache And Php On A Local Windows PC.
I've got some problems uploading files using apache and php on a local Windows PC. I'm using the file upload example from the manual, but i can't get it to work. I don't get an error message, it's asif nothing happens. I can't find the file that should be uploaded on my harddisk. Has anyone a working example for file-uploads on a local server with the settings for the php.ini file? Any tips?
View Replies !
Can't Read Remote Web Page From Local Apache/PHP
I'm trying to read the contents of any Web page on another host. I'm finding that... echo file_get_contents( 'http://www.php.net' ); .... works fine if I upload the PHP script to my Web host, and run it there. But if I run it on my PC, which is running Apache 1.3.33 (Win32) and PHP 5.0.5, then it always times out, and gives me the error message... [error] PHP Warning: file_get_contents(http://www.php.net) [<a href='function.file-get-contents'>function.file-get-contents</a>]: failed to open stream: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. I get the exact same results using... $fh = fopen( 'http://www.php.net', 'r' ) or die( $php_errormsg ); while (! feof($fh)) { $page .= fread($fh,1048576); } fclose($fh); echo $page; Anyone know what could cause this to happen?
View Replies !
Connect Page (local) To Remote Database:
I'have Easy PHP in localhost and i need connect php page (local) to remote database: $db_host = "62.149.225.23"; $db_user = "gfo"; $db_password = "gfo"; $db_name = "gfonline"; $db = mysql_connect($db_host, $db_user, $db_password); The browser show this message: Warning: mysql_connect(): Can't connect to MySQL server on ེ.149.225.23' (10061) in e:phpgfonline.itprovaremoto.php on line 7
View Replies !
How To Print The Local Variables Used In A Generated Page
I am still a beginner of PHP, and while I found out the way to print all the variables passed as a POST, I was wondering (for debugging purposes) if there is a simple way to tell the PHP interpreter to print out all the variables that have been used during that session, without storing anything anywhere, and without buying a commercial tool.
View Replies !
Intranet
I was charged with building a new intranet for my company which seemed to be complete. Testing was done everything was great and so we made every thing live and "Bam"! Now it takes an average of 8 to 10 seconds to load a page. We are using Microsoft 2003 Server, PHP 5 and MySQL 5. the previous build was on a 2000 Server, PHP 4 and MySQL 4. There are 2 intranets being run-- one runs just perfectly, however there is a header program in place that is controling the post and get information. The one in concern seems to slow when I am calling a get method thru the http header ie http://mysite/home/index.php?page=home When I call the index page and add the inclusion of the home page this is where I have the slow down. If I was to call http://mysite/home/home.php I get an imediate page load. Of course the page is not formatted corectly and I have a lot of the page information missing because I depend on the index.php to hold the basic page design and the page call will call an individual page to appear in a certain part of the over all design (sorry if I am going on and on I just want to give as much info as possible).
View Replies !
Set Up An Intranet For My Own Use Only
I have recently decided to set up an intranet for my own use only. I have a webserver using apache and also have php installed. What i have done so far is i use a basic authentication, simply asking for username and password before entering to the intranet homepage. Now what i'd like to do is to be able to retrieve whoever enter the site and be able to show it on the intranet homepage. In another word, i'd like a welcome message on the homepage.
View Replies !
PHP/MySQL And INTRANET.
Does PHP and MySQL behave on an Intranet, the same way it does on the Internet? If so, what server would be the best for this (Apache)? Also, how difficult is it to bypass any firewalls if a user is attempting to access the Intranet (MySQL tables) from a remote location via the Web?
View Replies !
Email On Intranet
I'm trying to submit an email on our Intranet, but when I use: mail($recipientemail,"Subject",$notification,$sender); I get the following error: Warning: mail(): SMTP server response: 550 5.7.1 Unable to relay for validemail@validdomain in c:inetpubwwwroot eminder.php on line 29 I substituted validemail@validdomain for a valid address I'm sending to. We're running Windows 2000 for our web server on the same machine running our Exchange server.
View Replies !
Intranet Development
I'm looking to start creating an intranet for the company that I work for, but I have little experience in creating such a system. It is something that I would like to learn a lot more about though. so I was wondering if a) it is possible to create a safe and secure intranet using PHP/MySQL and b) which resources (books, tutorials etc) you guys would recommend for learning more about intranet development.
View Replies !
Looking For Intranet Software
Here are the specifics that I am looking for: It needs to have a calendar (several portal and cms software packages have this) It would be nice to be able to share that calendar (optional) Or it could be a public calendar that everyone posts on (or possibly a calendar where you can make events public and private) It also needs to have a personnel directory so people can lookup others' phone numbers and email addresses. I suppose this could be done through a "user's list" if the software used was something like php-nuke, drupal, etc... Code:
View Replies !
Intranet Business App
I will be designing an intranet business app, laboratory information system to be more precise, and am still deciding what to use for the front end to the mysql db. Also one of the objectives is secure web access for customers. I designed the current app which is an MS access multiuser db. It works fine but is starting to show its limits and for version 2.
View Replies !
Trying To Add Intranet To Site
so like the subject says i'm trying to add an intranet to a site i'm working on using a php function to block out any ip addresses i dont want. In this case i want to block out anything that doesn't start with 192.168. To do this i thought that this snippet of code would do the trick, a statement checking the IP, then if it does not begin with 192.168 it would kill it.
View Replies !
PHP As A Proxy To Get Intranet Content
I need to provide content to the external site that comes from internal intranet web servers. These are mostly webservers in hardwired devices such as PLC's. I have done this on a smaller scale by: 1. opening socket 2. sending http request 3. getting response 4. splitting headers from content 5. sending headers and content back to browser This new requirement is more invoved though, with activex objects, username/password challenges etc.Is there a tool out there that can handle this?
View Replies !
Is PHP Robust Enough For An Intranet Application?
I'm just curious if anybody has created a PHP-based Intranet application and what successes they've had. I've used PHP to do a lot of things, but because it partners with HTML I always assumed it was too flimsy to be used in place of C/C++/VB/Java/etc. The more I thought about it though, I realized that its partnership with HTML could be an asset. It would cut down on a lot of the GUI development time. You could even add a layer of JavaScript to take care of some of the client-side error checking and other stuff that you can't do with PHP alone. What are some of the downfalls to using PHP for such an application? I hear some people talk about using Object Oriented (OO) PHP design methods, but I really don't see how you can do that. Do they mean using a lot of functions and includes, or did I miss the part where you can create classes and objects in PHP? Aside from the (at least what I can see) procedural nature of PHP, I'm having trouble pinning down where it's any less capable when used with HTML/database/JavaScript.
View Replies !
Intranet-based Calendar?
I'm interested in creating an Intranet-based calendar which will contain company information such as holidays, special events, etc. I was wondering how this could be done. I was originally thinking of using an ActiveX control of some sort but would rather use DHTML w/ Perl/PHP instead.
View Replies !
Integrating An Internet And Intranet
I developed a php inventory system on the public Internet. I have now been asked to create a customer information system that will run in an INTRAnet environment. What php and/or perl functions can I use to seamlessly integrate the intranet and internet applications.For example: We have all the product information online, but we want all the customer information offline(especially credit card stuff). When we make a sale, we would like to have the customer information displayed along with the product information. This will be used for invoicing and then for accounting purposes.
View Replies !
Build A Very Secure Intranet
I am trying to build a very secure intranet. My login script sets username in a cookie at the client side when the suer logs in and all the other pages check to see if the cookie exists and what access the user has. I know that cookies can be spoofed, so I want to setup another mechanism to check for authentication. May be store it somewhere else also and cehck them both? Can sessions be spoofed ?
View Replies !
Intranet / Network Password
In our network each person has an individual username/password to log on. This password is changed regularly. I am creating an Intranet website containing various sections and want to know if it is possible to provide a log in page for each section. The log in should be the users own username/password that they use to initially log onto the network. Is it possible to incorporate their username/password into the intranet site?
View Replies !
Intranet - Authenticate Using Windows Credentials?
I've just about finished an intranet app that allows users to sign in and out, track their time, show a calendar view of time worked, vacation days used, calculates overtime, etc. My backend is mysql and I'm currently authenticating against a users table that I threw together. The problem with that is another set of u/p's for users. I can import a list of everyone's windows login info, but then it's in two places and I have potential sync issues and maintenance that I'd like to avoid. My question is this: are there any environment variables that capture the windows login info in PHP (the server will be running on windows, not *nix)? For example, if I login into my workstation as djf / password1, rather than having that information also stored in a mysql table, is there any way to access those values without the user typing them in again? I'm not that familiar with windows environments, but based on the research I've done, using LDAP and Active Directory might be a possibility? I have no idea how to do either.
View Replies !
Echo Windows Username Intranet
i a making a form that will insert a few things in to a mysql database, i am trying to make a field that will show the users domain username but i cant seem to find anything to do it, i am in a corporate network with thousands of users, i am using one of the pc's to setup a mysql / php / apache server just using (xampp) we will access the pages using netbios (http://computername/index.php). our intranet needs windows credentials to access most of the pages so the info must bestored in ie i just cant find the php code to access it, i have tried, <?php print_r ($_AUTH_USER); and a few variations.
View Replies !
Querying Online Databases From Intranet/localhost
Firstly, is querying online databases from localhost/intranet servers possible? Secondly, if it is could someone shed some light on how I would go about it.... Ideally a small part of the intranet system would just contain two sets of db connects: $db1 = mysql_connect("onlinehostname", "username", "pass"); mysql_select_db("databasename", $db1); $db2 = mysql_connect("offlinehostname", "username", "pass"); mysql_select_db("databasename", $db2); but I'm guessing this is simple method is impossible.... is there a way to accomplish something similar? as I would like to be able to take parts of an online database into an offline one if they were approved..
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 !
100's Of Video Files Into 1 Page
I am creating a website that will have 100's of video files. Now i want to play these in an embedded windows media player. Which i know how to do. What i want to know is how do i have it so once a link is clicked it is played into the same page each time. So I don't have to create 100's of pages, 1 for each video. I can just have the 1 video page that they are all played into. I have been useing macromedia dreamweaver up to now.
View Replies !
Replacing Linked Files In A Page?
trying to come up with a system which will strip out all files on a webpage and replace them with the correct url for said file, this is for use in an include system where i can fake the urls. ie. everything on my site goes through the main index.php file so http://www.mysite.com/index.php is the same as http://www.mysite.com/this/is/a/fake/url/ because this/is/a/fake/url/ is passed as a variable to the index.php (using a modrewrite) which finds the real url in a database and then includes() it! now because http://www.mysite.com/this/is/a/fake/url/ might correspond to http://www.mysite.com/project/1/ all linked files on the page will be lost unless absolute urls are used. Now to avoid absolute urls i want to go through the page, replace all filename with the correct url and then echo out the page. now its the parsing of the page that concerns me, so far i've done this.. PHP Code:
View Replies !
Changing Titles Per Page With Inc Files.
The way my script is set up now, I have an index.php which calls on inc files. The problem is that each page (inc file) is using the title set in the php.index. My goal is to have a title for each page. I've looked and looked but can't find anything.
View Replies !
|