Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    PHP


SuperbHosting.net have generously sponsored dedicated servers to ensure a reliable and scalable dedicated hosting solution for BigResource.com.





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 Complete Forum Thread with Replies

Related Forum Messages:
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 !
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 !
PDF Creator
do we have any html to pdf creator that comes free of cost that creates pdf on the fly?

View Replies !
PDF Creator With PHP?
Does anyone know of a PDF creator that i can implement into a PHP function, to print some data as PDF document?


View Replies !
Playlist Creator
I am looking for a playlist creator using mysql and php. Like i want to give each song link one id which is stored in database and when i click on a song link the page which uses mysql must open the song link.

I wanted to use the playlist for real player files which stores the info in a database with ID | title | url | keywords .

View Replies !
CPanel Subdomain Creator V2
Today I have created a PHP class using which anyone can create cPanel Subdomain & FTP accounts without login to cPanel. This allows you to offer free subdomain hosting to vistors. Visitor can signup for their subdomain and an FTP account will also be created on same name and with predefined specified quota. User will get access to his sub folder only not root directory...

View Replies !
PHP Image Creator - Not Working Well In IE
I am developing a Flash application for creating postcards, which can be sent by the user to someones mail. Well, as flash canīt create a jpeg image by itself, I got some php codes for that. Everything woks perfectly in FireFox but, when tested in IE, it  has a problem:

Well, the php code I found to create the image, also records it in the userīs computer. So, if I make one postcard, send it (and it will be recorded), the do another postcard and send it again, it will record always the first postcard. But it send the correct one by mail.

I understand this is because the cache of userīs browser, so I was wondering if is there one solution for this, like force the cache cleaning. Well, I would even go for taking off the recording on the userīs computer, so it would only send by e-mail, but I never learned php, so I donīt know which part to delete so it donīt record the image.

View Replies !
PHP MySQL Page Creator
Does anyone know of a free and good PHP MySQL page creator? I'm looking for a program that when you give it the MySQL details it will generate the pages for you to add, edit, delete records in the database.

View Replies !
Php Folder & File Creator
But what I would like to do is have a php form (eg back end manager) that i can fill in with:

file name
folder name
todays date
page title
page body text

And when you click the submit button it creates the folder with the name I specified and with in that folder it creates the .php page with the other info that i put into the form.

I've found scripts that will create the page, but not the folder. Is it possible? or should I find another way round this eg database and a backend manager.

View Replies !
Form Creator Online?
I once saw a web page where you could fill out a form, and the page
would create the php code for a form according to what you had filled
out. So, for example, you could say I want a form with name and
address, and it would write the correct PHP code for you.

View Replies !
Email Account Creator
I am looking to add a feature which gives users a free pop3 and or webmail account. my site is http://34u.org I cant find a script anywhere. I am willing to pay a little. If the signup for the email account could be automated it would be great.

View Replies !
Easy PHP-PDF Creator Based On Templates
Is there an easy way to make a PDF document from a template?

I have a particular layout in word/illustator which I would like to use as a template and just replace the images and insert the text on the fly from my database.

The pdfclasses I have give me the capability of doing it all by hand, but I'm thinking of a time saving way to get it how I want instead of endlessly playing with arrays and table layouts.

View Replies !
CPanel Mail Creator Class - Email Account Creation
Here is the class I have written for creating cpanel email account creation with loggin in to cPanel. Using this script, you can create new  email addresses just by filling the form. So you can provide free email accounts for your visitors. They will be able to create their own email account without your intervention.

Note: You must own cPanel with your website. cPanel username & password will necessary for using this script.
 
The main class file is attached herewith. You can use it by downloading...

View Replies !
Php Webpage And Form On Webpage!
recently signed up for a text messageing service that can use php script to send required details to specific mobile numbers, Anyways i recieved this code from the company: Code:

View Replies !
Site Flow Chart/site Map Creator For PHP?
I'm working on a site created by someone else, containing a hundred
different pages or so in PHP, with connections (includes and form
actions) going all over the place.

Is there a utility out there that will create a visual site map of all
the connecting pages in a site?
I tried using Dreamweaver MX 2004's, but the best it can do is see
connections in HTML. It'd only go one layer deep and find only a few
connections for a total of about 6 pages out of the dozens.

View Replies !
RSS Feed Creator - Not Valid RSS Feed?
i've been working on a script that would generate an RSS feed, and that seems to work, it displays the feed in FireFox the way it should, but when i try to link to it as a live bookmark or aggregate it in thunderbird, it claims it to not be a valid feed. here's the feed: Code:

View Replies !
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 !
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 !
How To Parse A Webpage
I've scoured the net looking for a tutorial on how to parse a webpage but I've come up short handed. Can anyone provide me with some tips on how to get started?

View Replies !
Forcing A GET To Another Webpage
How can I forcefully 'push' a get request within a php? Example would be having 2 websites running on two diferent server. When I update site A, I would like update site B as well using GET. PHP Code:

View Replies !
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 !
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 !
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 !
Webpage Screenshot?
Is it possible to fetch a webpage and take screenshot of it like it displays
in browser and then store it in jpg/gif

View Replies !
Moving To Another Webpage
Is there a way of jumping to another page from PHP. I've got a form that is submitted, and that data is entered into the database. I want the page to then go back to the original page. Can i do this?

View Replies !
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 Replies !
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 !
How To Restrict Webpage
how to restrict my webpage, the logged in users are only allow to access page, if not redirected to login form.

View Replies !
Reading A Webpage
I need to make a PHP script that reads the source code of a webpage (i.e. http://www.google.com/). How can this be done?

View Replies !
Check A Webpage..
I want to be able to check a webpage for a piece of text/hyperlink.. How would I do this?

View Replies !
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 !
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 !
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 !
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 !
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 !
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 !
Webpage Viewable Once
Does anyone know how to make a webpage viewable once. I have searched and still no luck.

View Replies !
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 !
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 !
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 !
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 !
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 !
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 !
Reading A Webpage In Php
im trying to use php to read a webpage, strip off everything but whats inside the body tags, and then output that onto a new page.

View Replies !
Getting Data From A Webpage
How can I put the contents of a webpage in a php variable? a string or an array or even a file?

View Replies !
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 !
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 !
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 !
Screenshot Of A Webpage
is it possible to take screenshot of a webpage with php? if yes then where should i start writing this script if you know any tutorial or article etc on this.

View Replies !
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 !
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 !
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 !

Copyright Đ 2005-08 www.BigResource.com, All rights reserved