Creating Fig On The Fly
I have a web page and i want to create some gif on the fly Is that possbile? Any good technik?
View Complete Forum Thread with Replies
Related Forum Messages:
Creating XML In Php
I have a website that is hosted on another machine not under my control. i want to be able to use a file to share info between pages. one page inserts into the file and the other reads from the file. i wanted to use XML because there would be a lot of fields and some would variable length or values. i'm looking into the XML functions with PHP however they all seem to read an XML document. is it possible to have one write an XML document?
View Replies !
Creating Dir
I wanted that when users register on my site, automatically a directory would be created, The problem is, when submiting the registration form via HTTP, the user nobody doesnt have the permissions to create this directory. So I tryed ftp_mkdir. And it worked. The problem is... the directory permissions where automatically set to 655. How can this be changed? Chmod will not work here, because the user is nobody.
View Replies !
PHP - Creating DB
i have a form with textbox default value='10', i want to add to database, and changes made on this page will update into database. this is my form field : <input type='text' size='1' name='$i' value='10' /> $i is for loop that prints outs textbox What column do i create in mysql db and how do i assign the each value of textbox ? for example if i create table example... Create example(date date, qty int); how do i insert each textbox value and each day date into database?
View Replies !
Creating PDF
I need to create a pdf on the fly from 6 fields of my database. What my question is, is how can I make sure that the pdf created is in the landscape profile, not the portrait profile? I have never created PDF's on the fly from a db before.
View Replies !
Creating API
I've been looking into providing an API on a recent project i've been working on.. i've read around and have decided REST is the best approach in my situation. The problem is, i've found plenty of tutorials on how to write PHP for third party API's, such as google, amazon etc... however I'm looking for some information on writing your own API in PHP. I wish to recieved PUT, DELETE and GET commands over HTTP using REST, then process what I get and send some data back wrapped in XML... but can't find any information on how to do this.
View Replies !
Creating An Image
I am making a links page for my site that takes the links out of the database and displays the name on a button, but the text on each button is different lengths and I was wondering if there was a way I could align them center on the button? This is the button.php code: <?php header ("Content-type: image/png"); $string = $_GET['text']; $im = @imagecreatefrompng ("button1.png"); $text_color = imagecolorallocate ($im, 255, 255, 255); imagettftext($im, 10, 0, 5, 35, $text_color, "c:phpfontsariblk.ttf", "$string"); imagepng ($im); imagedestroy($im); ?>
View Replies !
Creating Pdf File
Is it possible to create a pdf file from a HTML form. i want to create a pDF file from HTML form which looks like the scanned copy of HTML form. I hope there must be somebod< who can answer this question.
View Replies !
Help On Creating Images With GD
I'm using a class to easily create plots and charts: 'GRAPH' by Herman Veluwenkamp downloadable from: http://phpclasses.upperdesign.com/ The problem I've found is the following: -When using Win9x-PHP4-Apache all is OK -When using Linux-PHP4-Apache plots appear as viewed in a mirror (both text and numbers) Does anyone give me a clue about what's happening?
View Replies !
Creating Files
I was wondering, if/how do you create a file with PHP, Im making a "network" for my site with PHP, and ran across this problem.
View Replies !
Help In Creating XML File From DB
Hi friends i need to get the details from two tables for creating one XML file.. for that, first i started by defining a DOMXML object $doc = domxml_new_doc(Ƈ.0'); and i have one outertable query as $outer_table = 'main_category' $query = "SELECT * FROM $outer_table"; $resouter = mysql_query($query, $mysql_connect); and when its first row is read its creating elements by $child = $doc->create_element($fieldname); $child = $outer->append_child($child); $value = $doc->create_text_node($fieldvalue); $value = $child->append_child($value); and i need to get some details from second table with its subcategid=maincategid to do this i need to get that particular field that alrady appended to the xml How i can..... i tried get_elements_by_id() but it returns only those elements that comes under it.]
View Replies !
Creating A Schedule
I am building a diet/weight loss website where a customer would subscribe for 1,3,6 or 12 months. I am using Paypal IPN to handle the subscription payments. I would like to create a schedule when the customer first logs on, from the date they signed up to the date when the subscription ends and every 7 days is highlighted as the weigh in day. Basically I would like to generate a list of dates from one date to another with every 7th day highlighted.
View Replies !
Creating Pics On The Web
I am developing a claims input form. part of this form, the original paper version, was to draw a brief picture of the accident. Is there anyway in PHP, or other addied controld to achieve the same result.
View Replies !
Creating XML Feed Using PHP
I am trying to create an xml-feed using php (without any classes). So I wrote a php script that fetches data from a mySQL db and displays that in xml-format. So far no problem. But then there occured the first problem. I used that code: PHP Code:
View Replies !
Creating Subdomain ?
I want to create a subdomain with the username and then upload files in the subdomain of user ...so that the user can view his files directly from his subdomain...examle...if my site is www.a.com and a user comes with username....anjali...then a subdomain should be created with the name anjali.a.com and all the files of "anjali" user should be uploaded in that folder and that user should be able to directly view his files from the domain "anjali.a.com" ...... i came to know that creating a subdomain is easier in php.....where to find its solution ?
View Replies !
Creating ThumbNails In PHP Without GD
I want to create an image upload script were the user will upload 1 photo while the script will store it in 2 different locations... /pictures /thumbs the script must alo create a second version of the original photo and the new version must be resized into certain width/height....I pretty much know what to do till here...however, what I am asking is that the new version will be resized as well as decreased in terms of quality in order to have a smaller size (but still be fairly viewable)...can this be feasible?
View Replies !
Creating URLs
I'm having problems creating urls when taking info from a mySQL table. For example a table with user_id, name, email and description. Then you've set up a template there this information will be displayed. You have this information in the database: user_id: 1 name: myname email: myname@myemail.com description: information about me Now in this template it should create an URL for this info that looks something like: www.myhost.com/page.php3?id=1 when they click on this link, another page will popup by using a second template with the name, email, description etc.
View Replies !
Creating A Subdomain
I want to create a subdomain with the username and then upload files in the subdomain of user ...so that the user can view his files directly from his subdomain...examle...if my site is www.a.com and a user comes with username....anjali...then a subdomain should be created with the name www.anjali.com and all the files of "anjali" user should be uploaded in that folder and that user should be able to directly view his files from the domain "www.anjali.com". i came to know that creating a subdomain is easier in php. where to find its solution ?
View Replies !
Creating A Jpeg
what i need to do is to create a graphic file. the problem is that my hosting doesnt have the GD needed for all the graphic monipulation. so i need to build the file step by step. as for building a BMP file, well that was a childs game, plain and simple. but as BMP file goes, its way too big. what i need is some way (algorithm mybe) to convert this bmp file data to a jpg file, or to create a jpg file to start from is also a possiblity. now, i've dome some reading, and the jpeg stuff, something way out of my league, the calculations, the commpression, the 8 bit stuff. i was wondering if someone has a good and practical tutorial or documentation of steps (in the form of cookbook) to take in order to either convert a bmp data or create a jpg.
View Replies !
Creating An Array
What I need to be able to do is post some variables from a form on page1 into an array and read this out from a loop on page 2. Also should the variable form fields on page 1 that I am using to post the vars, be of the same name?
View Replies !
Creating Pdf From Website
Woudl it be possible to create a PDF from an internet explorer view, using php? I would like to create a hardcopy (pdf) from a report, currently generated and echoed by php and have adobe acrobat reader fired up on the push of a button....
View Replies !
Creating Directory
i've stored as "MPEG PAL" in a string variable say $directory.(i've tested using is_string() function).Now when creating a directory using exec(mkdir $directory); it creates two directories MPEG and PAL. I need these two to be a single directory MPEG PAL. How can i do it.i've stored into $directory from text box.
View Replies !
Creating Variables
Is it possible to have a variable that changes its name?? What I mean is if I have a Loop that goes nine times, is it possible for a variable to change its name on every loop. What I would like would be; PHP Code:
View Replies !
Creating A Php Form
I have a little idea about creating a php form that can interact with the shop I'm using at my internet site (the shop is the exchange project, you can find it here: URL ) I use the shop for my company, and we sell PC hardware on the net. I need to create a form that will help people creating an estimate for a assembled PC, knowing what the price of the components is and buy the components (if they want) through the shop. So, I'd like to integrate the php form with the MySQL database of the shop: I need something that can let me show every item of the shop changinf automatically them in a drop down menu, one for each category. I tried something, but I had no results These products must be related with the ones in the shop, so I haven't to update everytime the form, and people can know what the price is and buy the products addying them to their cart automatically I have no idea if this is possible.
View Replies !
Creating WAP Pages With PHP
I am busy developing a site that will need to be accessed by both WAP and normal browsers. The normal browser access is OK and the site is finished for that - now comes to big problem: I need to create content based on a MySQL database for use on WAP, my only means of accessing the MySQL db is using PHP from a Linux server. I've tried a test that is supposed to display Hi on the WAP browser. This does not work it gives me the following error: Unsupported content type: text/html The code below is the original code I tried. After that I included Header("Content-type: text/wml"); with Content-type changing from text/wml to text/xml to xml to wml to xml/wml to no avail. Code:
View Replies !
Creating A Class...
how to create a class in php. I was wondering if anyone would be kind enough to show me how to create a very very SIMPLE class in php, and explain what the advantages of using classes are.
View Replies !
Creating A Password
i need to create a page on my web site, which is only accessible by me. can someone please tell me the best way to go about creating a password for this page. i see alot of programs that have a admin page. this is the sorta thing i am after.
View Replies !
Creating XML Documents
I'm trying to get myself to grips with XML and PHP, I've been through the XML parsing tutorials here and they are very good. However, what is the best way of doing the reverse, i.e. actually dynamically creating XML documents in PHP as opposed to parsing them? Is there a library for doing this, or is it best just to do it from scratch?
View Replies !
Creating A Metasearch
how do you create a metasearch? As in, how do you send a query to search engines like Altavista, and retrieve the results in raw data form? Secondly, what permission is needed to run this sort of metasearch program? Is it illegal?
View Replies !
Creating XML From Mysql
I am trying to pull data from an MYSQL table. Right now I am only getting the first record out because I am not using a check array. Here is my code, I have been bashing my brains in all day over this hopefully someon can shed some light on this. I tried a basic array earlier and it didn't work. Code:
View Replies !
Creating Functions
I have tried to find tutorials for this, but i can't. What i want to do is create a function so that it returns a value, in the name of the function (kindof). Ill give u an example so u can understand better. $var = myfunction($var) i.e. i can use it like a normal php function. Is this possible in php?
View Replies !
Creating Graph
I need to create a page with a graph. Data will be read from a DB, processed and then I should create a JPG or something to show. Does any one know of a component which can do this? I wonder, whether WMF files would be better, probably esier to create.
View Replies !
Creating Instance
Im creating a webpage in PHP.I want to know how to execute a DB2 command like db2icrt using PHP.I wanted to create an instance and later need to create a sample db using db2sampl command.Then i connect to sample database using odbc_connect statement in PHP.Expecting ur earliest reply.
View Replies !
Creating A DOC With PHP On Linux
I'm creating a word document threw PHP, however I've had someone tell me that doing this the way I'm currently doing it might trigger some peoples anti virus software. The code I'm currently using is Code:
View Replies !
Creating Excel CSV
I am trying to create a MS Excel format CSV but I can't figure out how to get the line feed/carriage return/new record working properly. I am nding each line/record with these characters: " " but the Excel file just loads all the field in one row as if it doesn't recognise these characters. These are the headers I am using to create the file: header("Content-type: application/vnd.ms-excel"); header("Content-disposition: attachment; filename=production_boards.csv"); header("Pragma: no-cache"); header("Expires: 0");
View Replies !
Creating SubDomain With PHP
I have a registration form, when after registering, the user would get a subdomain http://username.domainname.com I created a wildcard DNS which happened to redirect *.domainname.com to the public_html folder. I need to find a way to redirect eahc subdomain to it's user folder.
View Replies !
Creating Subdomains Using Php
I have a site called www.example.com. I would like to offer free hoting to the people and offer a site with their username like this. www.username.example.com. Please can any one here tell me how to accomplish this using php ?
View Replies !
Creating Template And GUI?
I've been using Dreamweaver to create my php pages and love the functionality but when I start modifying code I start wondering if I should be something else because it always throws off the extensions. I like the fact that dreamweaver will insert some of the tedious code for me but are there any php GUI's that are similar to dreamweaver? I've downloaded a few paid scripts and see the use of *.tpl files and wonder how they design that and make it functional without using a WYSIWYG application. From what I've found there wasn't anything like dreamweaver for php development but it seems like I should be moving towards creating those tpl file instead of including pieces of files. Is there anything that will allow you to create recordset and have any like behaviors in dreamweaver. Does anyone have any tutorial or examples for using/creating tpl templates?
View Replies !
Creating PDFs In PHP
I'm using 1 and 1 to host a website. I'm needing to create a PDF file dynamically using data from one of my MySQL databases, but it looks like 1 and 1 doesn't support the PDFlib library. I've also tried using some third-party software that can connect to a database over the network, but 1 and 1 doesn't allow connections to their databases outside of 1 and 1 sites. Does anyone know of any other options I have? For example, is there a way I could somehow include the PDFlib library in my web space and reference it from my PHP scripts or does it have to be compiled in?
View Replies !
Creating Profile
would i get them to make it the 1st time they sign in assigning them a name for there profile there or use there login name to creat the profile? if so how can i make it so the users information can be set up in there own folder or will this be messy stuff and is there a better way of doing it?
View Replies !
PHP For Creating Rss Feeds
I want to use PHP for generating RSS feed. Actually, I am already using PHP for generating the valid XML. The main problem is determining the URL. The URL is dynamically changing (date + some random numbers). I could find the valid URL by using wget(beacuse it allowed me to retrive content using wildcard) but is there any neat way to do it in PHP?
View Replies !
Creating A Button Within Php
i bought a book on php mysql and i sort of digressed from the book, which is why i need help. the book told me how to create drop down menus within php, not html, and i was able to successfull do that. i used for loops instead of foreach, for my first comp. language is C++. anyways, i was able to create 3 drop down menus, 1 for the day, month, and year. how do i set up a button in the php that will redirect the information so that i can use it in other .php forms? I know how to do this using text/radio/check boxes using HTML forms, but not php. Code:
View Replies !
Creating Table
There is much more to this script, but luckily that all works. The only part that doesn't work is the create table bit. When I simply name the new table such as 'local_school' it works fine and all the data is entered, but for some reason because the table anme is a variable it refuses to create the table. I have checked the variable by echoing it and it works fine. Code:
View Replies !
Creating A New Page?
I want to be able to allow users to sign up to my community site, and create a folder from their username. So their page on the site will be www.site.com/user. Making the folder part is fine using mk dir. However, i have no idea of how to create an index.php file that has my profile template on it or how to pump out the correct users data. I imagine though that the file is created with a variable in it such as $user = x so that it pumps out the correct user data.
View Replies !
Creating A New Table
$create_str = "CREATE TABLE $cat (item_id INT not null auto_increment primary key, image_URL text)"; $cre = mysql_query($create_str); is there something wrong with my code, because it just doesn't create the table.
View Replies !
|