Adobe, Macromedia (view .PHP Pages Offline)
Is there some Adobe or Macromedia program that allows you to view .PHP pages offline?
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Disabling View Source On Pages
what's the best way to protect source code on a page? I.e. not permitting the right mouse click to view source or properties.
Looking For A Good Php Book To Use With Adobe CS3
Sometime back I bought a couple books on Dreamweaver and Flash for the CS2 Suite and along with it bought a book for Php, Foundation Php for Dreamweaver 8. I read the Dreamweaver and Flash books but never have read the Php book. Now that I was ready to I just upgraded to the CS3 suite. My question is, is it important to look for a newer Php book to use with this CS3 suite or would the current book be ok and up to date? Should I look into the Foundation Php 5 for Flash 8 as a complement to the current book or is there a completely other book I should look into? I'm completely new at Php so am definitely looking at something that's entry level.
Modular PHP Websites And Macromedia Contribute
I have been "asked", aka ordered, to do some research into Macromedia Contribute. From what I can tell, it's a nice enough piece of software. Does everything a CMS should, within reason of course. Anyway, I make my websites very "modular". This is how I set them up. I have in the root of my website a .htaccess that redirects any URL request to the index.php, e.g. URL request of "www.mydomain.com/somepage/?test=true" is made into "www.mydomain.com/index.php?a=somepage/" and the query string is passed too. I then have the index.php load in a set of PHP classes that builds a web page from templates and MySQL DB information. Now, will I be able to get Contribute to edit this kind of system or should I look at changing how I build my sites for this upcoming project?
Interaction Between PHP, MySQL And Macromedia Flash MX
I have recently started to study Macromedia Flash MX and found it ideal for the creation of very impressive graphic intefaces. Unfortunately, its inability to save data either on the hard disk or on a server is a serious problem preventing the creation of any database whatsoever. As soon as I learned that Flash can interact with PHP and, through this programming language, manage MySQL databases, I searched for tutorials which could explain to me how to do that. My search was only partially successful, in that I could only learn how to query a database by means of a PHP file "launched" by Flash and get the results of the query within Flash. To sum up, I created a simple frame in Flash containing a button and a textbox accepting HTML code. Then I assigned the variable name "Results" to the textbox and inserted the following code in the on_release event of the button: Code:
Project Management Tools/Macromedia Sitespring
I was wondering if anyone could suggest a PHP Web-Based Project Management Tool. Some of the features I am specifically looking for is task management, timetracking, project documentation management... My employers are beta testing Macromedia's Sitespring (JSP based web interface), and honestly it is pretty full featured but it doesn't fulfill all of our needs. Also, the price tag is enough to make anyone think twice.
Pear All Packages For Offline Use
I need pear for an offline laptop so the standard install method is no possible. how to install pear on the laptop, does anyone have a zip of all pear packages that I can download ?
Offline Update To Database
We have a web page where they can enter sales call information. They want to be able to enter this information at any time, while in the car, at home etc. What would be the best way to have information entered offline, then when they get connected to our intranet it would sync or upload all their data ? I thought about creating some type of web page, that would write the information out to a file. Then they would have a "sync" button or something on the intranet web page that would read this file in.
Offline Script Testing Question
How can I test PHP scripts, mods & forums (phpBB) on my PC ? I'm affraid it's little more complicated than only instaling PHP, than, I would probably need to install mySQL ... and so on ... Is there any software for this purpose available (freeware, shareware), for newbies?
Contingency For Form Input When Db Is Offline
My mysql server and web server are on different machines. Potentially, the db server may be offline, but requests to add to the db may still happen. I would like to develop a contingency plan so when the php script can't connect to the db, it writes the form data in a text file and sends someone an email, with a link to process the information later. My problem is there are textarea boxes on the form, so potentially the data could contain hard returns and such, which will throw off a script that would use file() and parse each line for a separate query. What other options do I have?
Online Or Offline Server Report
I am going to be making a script that reports whether or not a server is online or offline. I have a download page, and the page has six different hosts for a file. I wanted to make a small script that would report whether the server is online or offline, so you know which one to chose. I am unsure as to what will check and see if its on or off. Is there a boolean statement that will connect to a page and tell if you if it is there or not? DNS is not enough, it has to actually make a connection with the server.
Combatting Mass Downloads For Offline Use
We run a busy site that is powered by PHP and MySql, we provide a lot of free training content and have over 35,000 files totalling over 500mb. We are getting mass downloaded far too often and our bandwidth costs are crippling us. Does anyone know a way to stop this mass download of our site. Using PHP we check the browser type against our list of banned browsers and don't provide the links if a banned browser is being used - this has helped. However the banned browser list grows everyday and a new offline browser becomes available nearly everyday and not only that most of them allow you to spoof the browser type anyway. We are thinking of introducing a session based site that monitors timestamps against session id's and bans users that download too quickly, does anyone have any thoughts on this?
Using PHP Offline To Manipulate Text Files
I need to create an application that will do fairly simple text manipulation on 20,000 files in text format (html files). The files exist both on my Windows machine and on a FreeBSD server. I prefer to do the manipulation on my machine where it's easier to create backup copies, recover from programming errors and so on, then upload the files to the server. All I'm doing is extracting certain elements from each file and creating a different file with the same content that will look better. I could do this in FrontPage (or even Notepad) if I didn't have 20,000 files, so I need to write an application that go through each file in a directory, open it, locate the relevant text elements and create a new file that has these text elements in an appropriate format. I'm comfortable that I can write an application like this in PHP, even though I do not have PHP installed on my computer, which is a Windows box and is not being used as a server. Does this make sense? Can I install and use PHP for this purpose without lots of server-related baggage?
User Status Online/Offline?
I want to know how to check that user is online or offline by Php.If he visit pages then he is online, if he not accessed page he is offline. How to handle this is in PHP...I set session of each user......
Headers Already Sent Problem Online, But Not Offline
I have a problem where when I run the PHP code offline, there are no errors produced and the code runs as expected. However when I uploaded the same script and run it, it says the headers have already been sent. The script is for a "downloader" type script, where the user clicks on a file link (to the PHP script) using $_GET to pass the selected files ID to the script, and the information about the file is read out from a database, also updating a field in the database on how many times a file has been accessed, and then produces the browsers "save as" dialog box according to which file type was accessed. Below is the code, if anyone can help how to sort this problem out. I put line numbers in to show where the errors occur, along with the error report. // Connect (log on) to the database $connection = @mysql_connect("localhost", "xxx", "xxx"); mysql_select_db($DatabaseName); // Display database entries $sql = mysql_query("SELECT * FROM $TableName WHERE f_id='$FileID'"); $FileInfo = mysql_fetch_row($sql); <-- Line 22 // Read from the array the files URL $FileURL = 'http://'.$FileInfo[0]; // Read from the array the files name $FileName = $FileInfo[1]; // Read file size from the database // Problem using the built-in function to read file size of stated file $FileSize = $FileInfo[2]; // Write code for number of accesses a file has had $FileAccessed = $FileInfo[3]; $FileAccessed = $FileAccessed + 1; $sql = ("UPDATE $TableName SET f_accessed=$FileAccessed WHERE f_id='$FileID'"); $result = @mysql_query($sql, $connection); $FileType = substr($FileID, 0, 3); MYSQL_CLOSE(); //Screensavers if ($FileType == 'scr') { // We'll be outputting a screensaver header('Content-type: application/octet-stream'); <-- Line 46 // Filename header("Content-Disposition: attachment; filename=$FileName;"); <-- Line48 header('Content-Transfer-Encoding: binary'); <-- Line 49 // Calculate file size header('Content-Length: '.$FileSize); <-- Line 51 // The location of the file readfile($FileURL); <-- Line 53 } Errors: Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/php/downloader.php on line 22 Warning: Cannot modify header information - headers already sent by (output started at /home/php/downloader.php:22) in /home/php/downloader.php on line 46 Warning: Cannot modify header information - headers already sent by (output started at /home/php/downloader.php:22) in /home/php/downloader.php on line 48 Warning: Cannot modify header information - headers already sent by (output started at /home/php/downloader.php:22) in /home/php/downloader.php on line 49 Warning: Cannot modify header information - headers already sent by (output started at /home/php/downloader.php:22) in /home/php/downloader.php on line 51 Warning: readfile(http://): failed to open stream: Success in /home/php/downloader.php on line 53
Offline Php Documentation With User Notes
I want have documentation in form like in subject. I think: get from cvs, run makefile target and zip all html files (i want use it id phpeclipse plugin). In php documentation faq i found that transformation from xml form is time consuming. Have you any experience in php doc from php user point of view?
How To Detect User Online/offline?
how to detect user online/offline? by storing user login status inside mysql? wat if user go offline? how php know when user get offline or close the browser?
Offline Function, Variables With No Data In Them
I've been trying to figure this out for a while, the function returns a result but its not the result l want. I've tried to debug the function and it seems that $groupid and $status aren't being set as when l echo'ed them out they both had no data in them. If l set the variables data inside the function the code executes perfectly, so l cant understand why it isnt working. What l need the code to do is check to see if the member logging in is an admin (group id or a root admin (group id 9) and if the game is offline (status 1) to only only admin and root admin. However is the game is offline but status is set to 2, then only root admin can login. If the game is offline, normal members are not allowed to login. Clearance is there so l can check to see whether or not to allow them pass or stop them from logging in. Code:
To Change Online Status To Offline
If a user logged in ,his status should become online and when user close his brower at that moment,status of the user should change to offline.
Do People Develop Live On The Server Or Offline?
I have been developing on our server in a 'spare' domain up to now which makes for a <B>lot</B> of time spent uploading/testing changes as I go along. I was wondering do the majority of PHP/MySQL folks do this or do do you set everything up on your own machines? I have seen the downloads available and was wondering is it straightforward to get going offline. As soon as I had everything runnung on our server, I stuck to that.
Pear Pkgs For Offline WinXP Machine
I've got one computer in a remote-location without Internet access and I'd like to get some Pear Pkgs installed on it. What happens during the "pear install" process ? Is an Inet connection absolutely neccessary or could I get the modules first, and install on this offline machine ? If I remember right, there's a tar process, even for WinXP.
Avioding Expired Pages, & Carrying Data Accross Multiple Form Pages
I have a checkout/order form that consists of 6 pages, all PHP. The are linked to one another, like, after the user finishes page 1, they proceed to page 2, etc... The first two pages are submitted by a GET link, so those are not in my question. The next 4 are submitted using a <form>. Throughout all of the pages, i would probably have about 25-30 variables, things that the user has to fill out. I have two questions, 1. What would be the best way for me to keep track of all the data moving throughout the pages, like storing it from page 4, and i still need to access it on page 6. 2. I don't know if anyone could help me here, but does anyone know of a way to code around those ugly "page expired" pages, because of a submitted form. If a user needs to go back, which most likely they will, is there some sort of way for me to skip the expired page?
Email Message With HTML And Image To Be Viewable Offline
How do you insert an image file, jpg, into an email created using php and the mail() function. I would like the server to send the message with out needing to link back to it for the image file. Basically, send an HTML file with a jpg that would be viewable offline in a users email. I have successfully sent an email message as HTML with the jpg linking back to the server, now how do I imbed the image?
Can Php And Mysql Process Stored Form Data Created Offline?
A customer of mine has given me a task that has me stumped... My customer meets with his new clients away from his office with a laptop. At his office he is running a redhat server, apache, php, mysql....the usual stuff. His laptop has windows xp. When he meets with the new client, he wants to fill in a from and have the data stored on his laptop. After returning to the office he would like to upload via his web app (php/mysql based) the new client data into his database. Basically: fill in form offline ---> return to office and connect to web app ---> upload and review stored form data ---> process new client data into database Where do I begin? How do your create the form? How would you process the form? What's the simplest way to process the data into the database? I'm sure I'm missing a few questions here.
Redirect Page On Remote Web Host When Local Server Is Offline
Hope some one can help . I have my web site hosted on powweb (my remote web host)and I want a user to be redirected when they access my local server through a link on my remote web site to another page on my remote web site when my local server is offline.
Converting Html Pages Into Dynamic Pages
I built a website in html, using Dreamweaver. I need to have a database built within these pages and the person who is going to do it told me that they will have to convert all my html pages into dynamic pages (php). Is it complicated to do this or do I just have to save my pages in php instead of html in Dreamweaver ?
Url View
Is there a way using php to check what php script the user is viewing? If so how is it done?
Getting Name Of New Of View From MySQL 5.0+
We are using MySQL 5.0+ because it now supports views. However it appears that the PHP's(4.3) mysql_field_table() is returning a temporary name table name rather than the actual table (view) name. For instance we have a view defined as "open_meeetings_view", yet when we do a mysql_field_table() the name retrieved is "#sql_7a3a_1". The same call correctly retrieves all static tables and even aliases correctly. It does not appear that PHP has the ability to dig any deeper (maybe in PHP 5.0?), but does anyone know how to query MySQL for this information directly? A "show tables" does show the view names correctly. So we just need a way to correlate the temporary table "#sql_7a3a_1" back to the real view name "open_meeetings_view".
View Source
I was at amazon.com and clicked on View/Source, and I got a blank page. How did they do that?
Directory-View With PHP
I've programmed an access-control via header()-function. It checks an username and password in database ... nothing special. Currently, the control gives access to a download, but I would like to allow special users to view the complete directory. AFAIK this is only possibly through ".htaccess" (Apache webserver). But then, I need to create an entry for each user in the database in the file :-( Would it be possible to allow this direclty through PHP? Of course, I could write dynamically into htaccess, but if several users would access the file at the same time ... URGHS :-)
SQL VIEW Table
When I make a view table in mysql for as pre request from a client, does this table belongs to the this client only or all the clients who uses the server. My intension, i want to create exclusive "temp" tables for clients, where no other clients will be able to go into it.
View All Plus Pagination?
i have a online store that has about 2800+ products - on my productList.php pages I have a few variables to display the number of products per page: <?php $productsPerRow = 3; $productsPerPage = 27;my boss would like a view all button that sets $productsPerPage to the total number of products - and is active for as long as the SESSION (Perhaps unless the button is clicked again?) Any Ideas on the best approach to accomplish this??
PHP View Counter
How do I make a php counter, to count: a) Total Views of one page b) Unique views of one page c) Use mysql with it
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.
PHP Download/view Statistics
if anyone had any ideas for a simple way that I could use to get statistics on the amount of times a webpage has been viewed? I don't really want to install a whole web statistics package.. I just want to keep track of the statistics on a few pages.
View The Picture Before Save
when i upload the picture.. is there a way we can let the user to view the picture which they just browsed before they upload>?? e.g. user need to upload 3 pictures... so when user browsed the picture... usually what we get is just the path name...instead.. i wan to view the picture and the path... but these picture are not yet upload to the folder.
See On-line View Code
Hi! Is there any possible way to view an "on-line" php file? That is of course how you can view the code in a php file?
Generating Tree View!
My problem is simple though I am not too sure if the solution is. I need to generate a tree view by using the data I have stored in the database.For example in the root I have stored SportsBrand now if I click on SportsBrand it will expand to show different names such as Addidas,Nike,Reebok etc.Again if I click on Addidas I will have different items such Shoes,T-shirts etc.I want to list the tree on the left side of the screen and once the user click the items s/he will see the related information on the right of the screen.Also if the user want to add any new brand it will be shown dynamically under the SportsBrand along with the items they are producing. Also if the user want to delete any brand I have to make sure the tree structure will be resized again. xampp(The development IDE) is using this Tree view. I have already progressed a bit by storeing the tree in database and running the queries.Now I need to develop the user interface and mapped it with the backend. Is there any tool in PHP that will help me to do this? I think in NETBEANS(Java IDE) they have a built in tool to generate this structure.
Imap_headers Want To View Each $val Not All The $val In One String
I wish to view each item in $headers, but this script returns only an array of strings containing the items. $headers = imap_headers ($mbox); if ($headers == false) { echo "Call failed<br>n"; } else { while (list ($key,$val) = each ($headers)) { echo $val."<br>n"; }}
Private Client View
I would like to create a client login form for an small advertising company. What I need it to do is this, 1. The client logs into the website. 2. The client would see his job images. 3. he then could aprove it or send a comment back to the designer. My question is, 1. Does anyone know of an existing project that can do this? 2. If I write it what would be the best way to present the client a page that only will show his job.
View Contents Of Directory
I need a script that will display, in a table, all the contents of the folder. Like, for example, its filled with images, there will be a table and in each cell the file name with a link to the actual file. Can someone try to whip this up?
Please Help View Php Source Code
i am trying to view the source code of a php page but when i view the page source it comes up with "&errormessage=Please fill in all fields and send again.&", i am trying to create a form to email box for my own website and have found one on a website i like, i am trying to get the php code but dont know how to get it to be displayed.
Upload Video And View
anyone know where i can get a simple video upload script and once its uploaded you can watch it?
View External Website
I've been trying to load another website in my current site through php. So that way they don't actually leave my site. I've been trying to use require_once("http://domain.com"); or include and thats not working. Is there a easy way to do this in php. I've been trying to look on how to do this and all that i've found is wordwrap (i think it was called) which I couldn't get to work.
Simple View Counter
Anyone know a simple way to count views for each product using php and a database? Each product has its own ID.
Cant View Data On My PHP Page From MySql DB.
Im working on a character generator for a PHP game Im trying to get going but Im having trouble getting data from my mySql database. I created the table and added all the columns using this file:
View The Source Of A Web Page Using A Script?
This is probably some really basic operation, but how do I view the source of a web page using a php script. For example I want to have a variable, say $url = "www.google.com"; Then I want to echo its source code, so that I have a page showing: <html> <head><title>Whatever</title></head> <body> .. .. </body> </html>
|