Webpage Hit Counter
Where would I find a website hit counter written preferably in PHP? I
do not have shell access to the web provider so installation would
have to be via FTP only (no make or compilation)....
View Complete Forum Thread with Replies
Related Forum Messages:
How To Move Arrays From Html Webpage To Webpage?
There are a couple techniques to move information from different html web page to web page. 1. URL; 2. Cookie; 3. Form; 4. Session; All the examples I found are move distinguished variables from page to page, such as "?weight=20&name='apple'". I need users choose from the first web page (the arrays will be generated), then use it in second and third html web pages. How do I transfer them (arrays) and which way is the best? For example, if I have two arrays, $fruit[] = array("apple", "pear", "orange"); and associative array $myCats["Me"]="Merry"; $myCats["Pi"]="Pippin"; $myCats["He"]="Hergie";
View Replies !
View Related
Get Webpage Url
how would I call a web page url I'm interested in the current active page Example the URL when I type this post is http://www.phpfreaks.com/forums/index.php?action=post;board=1.0 I want to assign it to a variable ie $url=http://www.phpfreaks.com/forums/index.php?action=post;board=1.0
View Replies !
View Related
Screenshot Of Webpage.
I remember an old topic way back about creating a script that would be able to create a dynamic thumbnail image of a live web page. I didn't follow it all the way thru and never did see if somebody created a solution. I tried searching for it, but can't find it. Did anyone figure out if this is possible?
View Replies !
View Related
Ideas ..with Webpage
Hello I didn't do any web page development since university ,I wanted to create a web page for the fun of it ,an I was surprised of how easy it is to use frontpage and dramweaver to do basic stuff ,but I wanted to do something that I am sure it can be done but I don't really know the way . The webpage is not something original and it has been done before . Xe.com is a currency converter from a currency to another currency I have the following questions : 1) Wanted to auto detect the users country and accordingly set the starting currency (from this currency) to the currency that his country is using. And also change the language to the user's language ... 2)lets say that I have users from two countries Germany and Hungary I can create two starting web pages one with Hungarian and one with German ..but lets say I have users from 30 different countries is not very convenient to have to create a web page for each language there must be a way that someone can i have a webpage that takes textiles or something with the language strings and just displays them. 3) Lets say that the language is wrong and the user is using a computer of the Spanish person and the user is Japanese I want to give them the option to change the language at any time ..do they have to install another language e.g Japanese in this case? or only the encoding has to be changed .? 4)I wanted to give the user the option to select the currency in a better way than dropdown box ,or a list box .. like a menu somehow but I can't come with anything ...I don't know what guys can you suggest I guess the list box is the obvious especially if there are so many currencies but I would like something nicer... for example to display the currency image at the side ..not sure.. 5) If I create user login for example and I have different users that they pay for the services how can I restrict certain currency converter for certain users e.g. we have two users and the one user didn't pay subscribed for the free service (he can convert Euro to dollars, visa versa, pounds to dollars visa versa, pounds to Euro visa versa), the user that paid can convert any currency .. 6) How can I restrict users from copying the website (using offline explorer for example). I was wondering what tools do I need to use to create the website(recommended reading books?/online tutorials ),how will I be creating the functionality that I want and how will I be resolving every problem listed ?
View Replies !
View Related
Webpage To Email
Several times recently I've been asked to generate HTML email messages for clients. It would be very nice to be able to render an existing webpage in such a way that it could be included as the HTML portion of an email message. The problem is that web pages usually have some relative urls, such as for images, links, stylesheets, backgrounds, etc. which wouldn't work in an email. Does anyone know of a way (in PHP) to translate all the relative urls in a document to absolute?
View Replies !
View Related
Webpage Via EMail
I have developed a website in my local machine using PHP, MySql and apache. It's not uploaded on the net. If someone asks for references, is there a way to send without uploading on the net?
View Replies !
View Related
Using A PDF-creator On A Webpage
I have a webpage: www.site/page245.php. I also have a "frame" on the right side where I have this PDF-button. That button uses html2pdf to create a pdf. The problem is: I need to get a hold of the address it is supposed to create a pdf of. when I use this code: $htmlFile = 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; I only get the current page, and I want the previous.
View Replies !
View Related
Backup A Webpage
Is there a way with php to backup/mirror a page? I know that I can use file_get_contents() to get the HTML from the page, however how can I get the images etc to be downloaded and stored on the server?
View Replies !
View Related
Having A Webpage Modify Another
I am completely new at webpage building when it comes to advanced controls. I know how to put textboxes on a page with dreamweaver. What i want to do is have page1 with 2 textboxes. Then I want it to modify Page2.html page. Code:
View Replies !
View Related
Render A Webpage
I am trying to create an module/component which can take a webpage (by URL) and render it as an image. The aim is to be able to create thumbnails of any given website on the fly.
View Replies !
View Related
Webpage Freezes
I have a registration page in PHP, worked fine yesterday, today when i submit the data, it hangs the actual webpage. The data is placed into the mysql DB, and i can log in with that user id and password after i close internet explorer and open it again.
View Replies !
View Related
WebPage Creator
I need to create a form that displays webpages with personalised content. The form will be something like this Please enter title of Webpage: Please enter content for page 1: .................................... page 2: The webpages will be fairly standard over all it will only contain about 4 pages Home with links to the other 3 pages. any ideas? I'm sorry if that description is bad, i'm not too sure how best to explain it.
View Replies !
View Related
Redirected To A New Webpage
I have a form which posts data into a mySQL database, which works fine. After submission I then want the user to be redirected to a new webpage, this is the php code I have but the redirection does not work...can anyone help me with this problem. <?php mysql_connect("localhost", "mypcguy2_mypcguy", "*****") or die(mysql_error()); mysql_select_db("mypcguy2_passportforpets") or die(mysql_error()); // Form Variables $FirstName = $_GET['firstname']; $LastName = $_GET['lastname']; // Insert a row of information into the table "contacts" mysql_query("INSERT INTO contacts (pkID, fname, lname) VALUES (null, '$FirstName', '$LastName' ) ") or die(mysql_error()); header("Location: http://www.example.com/"); ?>
View Replies !
View Related
Testing Webpage
I think I've finished my website and I'd like to know if I can ask people to take a look at it to see if they get any errors but I don't know if I can do that. I wasn't able to find it in the FAQ or guidelines. So is this ok?
View Replies !
View Related
PHP Form To A Webpage
if it would be possible to set up a submission form with the following parameters: name, email, phone number and instead of storing the information to a database, the information is posted on a webpage or sorts? Is that possible or does it have to touch a database first?
View Replies !
View Related
Webpage Preview Like Ask.com
On search results from Ask.com, users can mouse over the binocular graphic next to each result to see an image preview of the page they are about to visit. Anybody know how this is done? If so, is it possible with PHP or is this one of those dark, scary, proprietary monsters?
View Replies !
View Related
Detecting Webpage Changes
I was trying to write my own code to display the differences between two webpages but I am having great difficulty. I also cannot seem to find such an animal on the web, it's incredibly hard to search for without concise terminology.
View Replies !
View Related
Creating Webpage
I'm using FCKeditor for entering data into the database. The database will store all content. Below the text editor I want a screenshot of how the currently stored data appears in the webpage template. How can this be created? Will I have to split the template into includes files?
View Replies !
View Related
Populating A Webpage
I am trying to create a webpage that will allow me to view my 'email' website whilst I'm at work. The firewall blocks the page and I was hoping that there was some surreptitious way to get around this problem. My thoughts for a solution to this would be to create a variable with the website's name in pieces. Then send it to a function that opens it in a frame or something.
View Replies !
View Related
Update A Webpage
I really don't know PHP, but I am currently building a band website. I would like to create a form that, when submitted would update the shows page to make it as easy as possible for them to update. For instance, the form would include fields for the date, venue, time, etc and each field would be placed in a table. If someone could please point me in the direction of a tutorial or some code, i'd appreciate it.
View Replies !
View Related
Capture Webpage
is there a way to use php to cache a webpage? I could use file_get_contents() but this will get the source. I would like to get the appearance of the page viewed by the user, almost like a screenshot. Because if there are any images file_get_contents will just link to the image and if thats deleted from the source it won't be viewable.
View Replies !
View Related
Webpage Before Output
I'm doing a bit of work on a site and there is a table that contains an iframe tag to an external website frame that is a dynamic page. Now what I want to do is capture the whole page (including the iframe content), just before it displays in the browser and substitute one href with another to rebrand the external source. PS the server doesn't have wrappers enabled.
View Replies !
View Related
Preloading A Webpage
anyway to preload an HTML page. For eg. i have an iframe and a link that will open phpfreaks.com in the iframe. When the user clicks on the link, i don't want to wait for the load time.
View Replies !
View Related
Part Of WEBPAGE
This is my first time in the forum and right on the start i need help of you guys. I am a new developer and I am trying to build a page in PHP/Html. what I want to do is refresh only a part of page. User fills in the form and comes toward the end of the form where he decides how many pictures to upload and the momment he selects number of files to be uploaded from a pop up menu the bottom part of page should get refreshed having that many number of file input fields as many were selected by the user.
View Replies !
View Related
Hit Counter Help
I just created a counter in PHP, and was wondering how I would be able to make other websites (which are located on different servers) of mine be able use the same statisitcs/counter. If you don't get my drift, I am almost trying to accomplish a remotely hosting counter service. Counter Info There are two files: counter.php, counterlog.txt If a visitor comes, it opens up the counterlog.txt and it increments. I put an include statement where I want the counter to show. Can you guys help me by answering these questions: 1. What language would I use? 2. Would I call it with JavaScript's script src? If you want, you could also be so kind to write me the script (or at least some of it)
View Replies !
View Related
Counter
:) I am following a tutorial for php (hudzilla.org) absolutely loving it however I am having trouble with the counter example <?php // your content here... $filename = 'counter.txt' // our counter file $fp = fopen( $filename,"r"); // open it for READING ("r") $counter = fread($fp, filesize($filename) ); // read in value fclose( $fp ); // close it whilst we work ++$counter; // increase the counter by one print "$counter hits to this page"; // print out the new value $fp = fopen( $filename,"w"); // open it for WRITING ("w") fwrite( $fp, $counter); // write in the new value fclose( $fp ); // close it ?> however it dont werk : by dont work I mean... it wont add to a number held in counter.txt it _will_ read that number fine, just not change it I am currently using # php -v PHP 4.3.10 (cli) (built: Apr 4 2005 04:47:06) Copyright (c) 1997-2004 The PHP Group Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
View Replies !
View Related
Counter.
I would like to have a counter on my website. I did try a simple code found on the net called "dark Counter" but when the code was placed in my siteheader.php it counted a visitor everytime they clicked a link when in reality it was only one visitor.
View Replies !
View Related
PHP Hit Counter
I want to make a simple-as-hell hit counter in PHP that just increments a value in a text file every time the page is loaded, so it would open the file, do a counter++ or something then close the file, then that file can be included in the front page with formatting around it etc.. No referers or any of that stuff is needed.
View Replies !
View Related
Hit Counter With Url?
I'm trying to make a hit counter that I can then use to show the most popular urls on a site. I've got the simple code from the phpfreaks tutorials section, could anyone give me pointers as to whether it's possible to extend so it somehow tallys based on url? I'm guessing it'd need some way to extract the current url, send to sql table, check if it already exists, if so, add one to that row, if not add a new row.. session_start(); include 'includes/dbconnect.inc.php'; if (!session_is_registered("counted")){ mysql_query("UPDATE simplecount SET count=(count + 1) WHERE count_id=1"); session_register("counted"); }
View Replies !
View Related
Hit Counter
i am a noob at php and was wondering if anybody could write a hit counter script for me. im not sure if it should be php or javascript, so could someone please write a script for me; it only must count the number of page veiws, nothing special like IP addys or how many in 1 hour.
View Replies !
View Related
Emailing From Webpage Issues
To All, I am new to PHP and I come from ASP. Is there an easy way to allow users to email me from a webpage. I want to have a form that will include drop down, radio and check boxes and in ASP it's real easy to handle it, but I don't know where to start in PHP.
View Replies !
View Related
Playing MP3's In A Webpage...
Is there a way to open up an MP3 by using the header functions similar to the following: header("Content-type: audio/x-mpegurl; name="file.mp3"""); header("Content-Disposition: filename="http://somedomain/dir/file.mp3""); does this make any sense?
View Replies !
View Related
Rotating Webpage Headline
I have a webpage that looks like a sales letter. To test different headlines for their sales pulling power, I want to rotate several headlines. Ideally, they should be sequential. i.e. i would have 4 headlines, for example, and would appear Headline 1, 2, 3 and then 4. On the 5th visitor, Headline 1 would then appear. Get my drift? What is the best way to achieve this?
View Replies !
View Related
Parsing An Array Containing A Webpage
I want to parse a few webpages to obtain stats and a few other bits but I`m a bit stuck on how I get down to the chunk of data I need. I've created a small script which obtains the page into an array, after that I have managed to get each line of the site to print out on each line. Now I know what line(s) of the page I need to capture into a seperate string, I`m just not sure how I capture that particular line. below is the script I am currently using:
View Replies !
View Related
Generate Thumbnail Of Any Webpage Using PHP
Joshua Eichorn(http://blog.joshuaeichorn.com) recently released a fantastic service for creating thumbnail of webpages at runtime. The service is named as WebThumb (http://webthumb.bluga.net). Later he relased some API for developers to incorporate the service using a API-Key. The API-Key is available after registering at the site.
View Replies !
View Related
How Do I Email The Contents Of A Webpage?
How do I email the contents of a webpage? My project is coming along nicely and I have it almost completed. It started with putting data into a mysql database and allowing people to select items wanted from a big list. I now can update the database with the quality wanted and I can generate an email to the person however I cannot get the list of items wanted into the email. The list is coming from a mysql database based and comes up in a table type format My question is how do I get the information from the 2nd page into the body of an email?
View Replies !
View Related
Webpage That Can Ping A Server...?
what i want to do is make a webpage for my gaming comunity that basicly will ping the 2 main gaming servers say every 30 mins to make sure there online and then will either send u to the appropiate page IE if it dont ping its offline.. if it does ping .. the sever is up and running... is this possible or not..? is the a script out there that does this??
View Replies !
View Related
|