Standalone Sig Generator
I currently have my sig generator running, the problme Im facing is that it outputs like this http://mysite.com/image.php?sigimage.png
I need to have it out put like this -> http://mysite.com/image.png?sigimage.png or something like it because a lot of sites do not allow image.php. Code:
View Complete Forum Thread with Replies
Related Forum Messages:
Standalone Problem
I've set up PHP 4 with Apache on an intel/Redhat 6.2 linux box with no network interface. Using URL PHP code with the .php extension works fine, but php code in html documents does nothing. In fact, view source shows the php code on the browser.
View Replies !
Multithreading For Standalone Php
I'm trying to write a mutlithreading server with standalone PHP. Concurrent requests is possible. Normally it is done by handling each socket spawn by serversocket in separate threads. But it seems that there is no thread support in PHP at all. Would anyone give me some suggestions? BTW, is the community considering add thread support to PHP in the future? What is the major difficulty to import an existing thread library (such as pthread library) into PHP
View Replies !
Standalone Program
I'm going to be doing a program for an elderly couple who owns a horse ranch, and wants some software to keep track of all their horses, owners, doctors, etc. I'm going to be writing the program in PHP using a MySQL database. I set up one like this for my work and it runs off of Apache on our server. I need this program to be a stand-alone install, without installing MySQL, PHP, and Apache seperately. How could I go about integrating it all into one package?
View Replies !
Standalone PHP Installation
I have never installed PHP before. It's always been set up for me. I have a client whose site is hosted as a virtual server. I'm trying to set up ecom for him, but the mhash library is not installed. So I use fopen to open a script on my website that hashes the variables. Obviously, this is not ideal because if my site goes down his ecom will too. I asked the tech people at his hosting company to set that up, but they said they don't do custom compilations. "As per compiling PHP with --with-mhash=[DIR] this is how that works: any custom compilations, custom applications, etc. are up to the user to compile and install. Use gcc/etc. to compile PHP with the options that you like. The php.ini in /etc is available for your customization as well. If you compile your own binary of PHP, you can place it where you like (or leave it at the default) and get the paths updated to use it, or you can obviously use it directly if necessary." I was planning on compiling a new, minimalist version of PHP (with just mhash) in a different directory, but I'm hesitant to do it in case I get unexpected results (I don't want to take the rest of his site down). Can anyone tell me if this sounds feasible? What kind of pitfalls can I expect? And can anyone recommend a tutorial? Most of the tutorials I've found assume you have root access and/or are compiling PHP/Apache together. I was also wondering if it would be possible to just compile the mhash library and add it to php.ini? That seems to be the simplest thing, though I don't know if it would work...
View Replies !
Php Install Standalone
I need to install php like standalone. can somebody say me that way to install it like standalone on linux, with support for mysql, apache and oci8?
View Replies !
Standalone Apps And Php
I have a project in mind for a library management system which I would like to try building with php/mysql. Are there any Delphi-like IDE apps out there that would do the job? Can the code be compiled into an executable?
View Replies !
Standalone Solution
I was asked to write a database solution for a friend.. it was supposed to do the normal add/retrieve/modify/search functions of a databse. i started with vb6 then decided to use php/sql. I might sound really dumb and ignorant but the question is... if i want to "package" this to him... how can i do this without having to personally go and install a webserver and php and sql and the rest so he can use it just through his web browser? can i use an installer that will allow it to be packaged so after the install he would just have to open the databsae through his browser?
View Replies !
PHP Standalone: Charset Setting
I'm simply using PHP as a programming language, and I just want to print some text information to stdout, but instruction print "é" (é) does not print my "e" with an accent in the shell window: wrong charset. How to set the correct charset?
View Replies !
Standalone DB (like Access) For PHP/Apache
I am in the process of translating an WIndows/ASP/MsSQL Content Managment System (CMS) to Linux/PHP/???. Is there a popular database I can use that will allow standalone files like Access did (which used .MDB files)? In order for the CMS to work, there needs to be a standalone database file that is self-contained, just like Access .mdb files are under Windows. I guess I am asking for an Access equivalent for Linux/Apache.
View Replies !
Standalone Executable File
I downloaded the tarball and while was able to compile within PHP with no problems, I am having memory timeout issues involving image manipulation with extremely large images (800K - 2mb). Requirements are to create thumbnails for even these banner-sized images, but PHP + GD + [huge image] = too much memory. I'm trying to prove that it is undoable, though the suggestion was to do a command-line GD call to the image instead of using the PHP functions to do so to save some memory; if it still times out, then it's undoable altogether. However, I cannot find the standalone executable file that will ensure I can run GD from the command line.
View Replies !
Submit Standalone Programs With Php
I'm building an application which submits scheduled php jobs. The way I would like it to work is to have one php program to submit the other php programs on a scheduled basis. This control program shouldn't have to wait until one job finishes before it can start the next one; instead, it should be able to submit all the jobs in one go, but it also needs to be able to be informed of the return codes of the submitted programs so dependent programs can be submitted too. I've looked at the exec() and system() commands, but they either don't seem to allow return codes to be returned from a submitted program to the submitter program or they unconditionally print anything the submitted programs produce.
View Replies !
Where Can I Find The GD Library Standalone Executable File?
I downloaded the tarball and while was able to compile within PHP with no problems, I am having memory timeout issues involving image manipulation with extremely large images (800K - 2mb). Requirements are to create thumbnails for even these banner-sized images, but PHP + GD + [huge image] = too much memory. I'm trying to prove that it is undoable, though the suggestion was to do a command-line GD call to the image instead of using the PHP functions to do so to save some memory; if it still times out, then it's undoable altogether. However, I cannot find the standalone executable file that will ensure I can run GD from the command line.
View Replies !
PHP XML Generator
Does anyone know if there's a XML code generator in PHP? I need to generate XML from DB using PHP. I want to see if there's already a code generator somewhere.
View Replies !
Name Generator
I need to have over 3thousand names which to save me time need to be automatically made. As in a name generator not sure if there is one in html or php or mysql.
View Replies !
Url Generator
i'm using google maps on joomla and am creating a number of maps - what i would like to do on one main page is have a set of checkboxs/radio buttons so that the user can pick say "towns" & beaches and it would generate the corresponding link on a form button the variables are all numerical eg towns is 1 beaches is 2 etc the result would be /index.php?option=com_google_maps&category=1,2.
View Replies !
Username Generator
I’m going to be creating a username generator that gives you a few usernames you could use, based on the one you asked to have but was taken. For example, when you signup for a hotmail account and the e-mail address you specified is already taken, it gives you a few choices to pick from based on DOB, age, etc., or create your own custom one again. The thing I’m going to be making is very similar. Instead stead of generating some names based on your DOB, age, etc. it will just give some names with numbers added on, or whatever the guy I’m making it for wants it to operate. Like I enter in Epsilon and it is taken, it then gives me something like Epsilon2002 (Based on the current year), Epsilon_, Epsilon- and so on.
View Replies !
Site Generator
Has anyone got any scripts that will, after a person registers, it will automatically create a directory for them?? Example: User Registers -> Confiration Page -> User may now go to http://mydomain.com/registeredusername with a default index.hml file Also a File Manager. Does anyone know how to do this or where i can find such a script?
View Replies !
Code Generator
Does anyone knows a code generator for Php ? Actions to do: specifiy a mysql table and their fields, and build a default webpage which allows to add,update,delete,search, browse, print the table data.
View Replies !
Site Map Generator
i was just wondering would it be possible to create a site map, where by you enter a URL and then it searches through the site and outputs this on a page. I know I've used a package which does this, but interested to see if it can be done using PHP?
View Replies !
Random Generator
This might seem a stupid question but here goes - I wrote a key generator for one of my programs in Visual Basic, so I recieve sales notification via email and then use my program to generate the key and send it via Email. Well after finding out about PHP, and that my host does PHP, I thought it would be quicker and more reliable to generate the keys on the server and send them out again either vai email or from the sales site. So I wrote the generator in PHP and surprisingly it works, or rather it works in a half assed fashion, I can generate keys, but they are not the same as the ones generated by my VB program. And here is my problem, I suspect its becuase I'm using a randomised Seed, and I'm thinking that VB and PHP Randomisers are not compatable. Am I right in my thoughts and if so, is there a way around it? Is the only answer not to use a randomiser? or how do people generate keys from the server when using other languages ie C++ etc?
View Replies !
Thumbnail Generator
Does anyone have a demo to look at for a very simple thumbnail generator for a jpg image? If a user uploads a jpg, and then a thumbnail is made of it.
View Replies !
Quiz Generator...
I have been doing through the web to search for a test/exam quiz generator that generate quiz, test and provide statistics. Most of them are commerical. Are there open source program for it in php?
View Replies !
PHP Screenshot Generator
Does anyone know of any real-time screenshot generator? Where you can give the PHP file a URL and it will convert that URL page into a JPEG image with GD? I have had a look around and only found a few but none seemed to do this job. Anyone?
View Replies !
Table Generator
I have this way of getting a webpage to include a table from a comma separated file. Works well for purpose I have used up to now but wish to extend it to generate a table with a top row of cells of type th. So two questions about this: 1. What exactly should the code be to enable this and 2. How should the csv file be formatted (if different from normal comma...
View Replies !
Parser Generator
What do I do if I need a parser too parse more complex user input? Is there a parser generator like lex/yacc for PHP? Or Can I call a parser written in another language?
View Replies !
Password Generator
This is supposed to display microtime number in md5 encryption but only 8 letters of it but all it displays is $mc. heres code <?php $mc=microtime(); $mc=md5($mc); $e= substr('$mc', 0,8); echo $e; ?>
View Replies !
Image Generator
Is there any programs out there that I can upload an image and it generates a PHP script for it? or is ther a php code I can use to do this for me?
View Replies !
Form Generator
Im looking for a software or script that would automatically, without (too much) coding, generate forms such as contact forms, secure areas, I'd prefer php or perl. Anyone has any idea of what soft/script could do that VERY well, with lots of features and everything.
View Replies !
Flowchart Generator
I am wondering if there are any good tools for generating flowcharts or diagrams from existing PHP code. I would prefer something written for Mac OS X, but a PC solution would be ok also. I have tried Sourcecode to Flowchart but have found it too be very buggy.
View Replies !
Feedback Generator
I would like to make a feedback generator for ebay. It would be pretty simple. The user would just select from a list of options and then press submit to make the feedback appear. However, don't know any PHP. Actually I don't even know if it would be PHP I would use for this. Would it be hard to make one?
View Replies !
Password Generator- Unique?
I have a script that is supposed to generate unique passwords. Trouble is its producing passwords that already exist in the 'personaldetails' table. i don't think I'm the lucky type that wins the lottery everyday so it its not by chance - there is an error somewhere. (the userid is primary key and is autoincrement, I know thats not a standard way of doing it but that isn't causing this error) The script is: if ("SUBMIT"==$generate){ $String = "This is the text which will be encrypted so that we may create random and secure passwords!"; $Length = 8; // Change this value to indicate how long your passwords should be. 32 character limit. $String = md5($String); $StringLength = strlen($String); srand ((double) microtime() * 1000000); $Begin = rand(0,($StringLength-$Length-1)); // Pick an arbitrary starting point. $password = substr($String, $Begin, $Length); print ("Your recommended password is:<P><BIG>$password</BIG> "); // Add the password to the database. $sql = "INSERT INTO personaldetails SET " . "firstname='$firstname', " . "surname='$surname'," . "password='$password'," . "teacherstatus='$teacherstatus'"; if (mysql_query($sql)) { echo("<P>Your password has been added to the database.</P>"); } else { echo("<P>Error adding password to database: " . mysql_error() . "</P>"); } $Query5="SELECT userid FROM personaldetails WHERE password='$password'"; $result5=mysql_query($Query5) or die ("Can not execute query:" . mysql_error()); print("Your userid is " . mysql_result($result5,0) . ". This has also been added to the database. "); } I don't understand why its not generating unique passwords. As, a consequence I'm bringing back the userid for the password that was already in the table, I end up with 2 people sharing the same password and and the generator reports they have the same userid ( when I look in the table the newest row has been added and has a userid which is different to the userid of the other person in the table who has the first copy of the password. My query to bring back the userid is bringing back the userid of the first row it comes to that has the 'unique' password entry, unfortunately the password is not unique and so I get the wrong persons userid? - can you spot what is wrong with the generator?
View Replies !
Random Number Generator
<?php function get_random_number_between($start, $end) { srand((float)microtime()*1000000); $random_number=rand($start,$end); return $random_number; }; echo get_random_number_between(2, 4); ?> Could anyone suggest how to modify this code to output a float between 2 and 4 with 2 decimal places?
View Replies !
Form Generator Or Class / OSX
i am sure we all know this Problem, u build a website and want to implement a CMS, so that the content can be updated easily. So u spend half a day building Form Sets for Update insert delete etc.. Does anyone here know of a good form generator that will build this forms automaticly? Best would be a Class or something but a desktop version that runs on OSX would be great too.
View Replies !
PHP File Map Generator/editor
Is there some software that can map the file tree (mainly the file includes within the PHP scripts) and create a tree to show where these files are included, and from which files. Rather like UML for c and c++ kind of function?
View Replies !
Database Or File For Name Generator ?
I am making a random name generator, it will pick two or three words from a list and turn them into a name. It seems a database needs to work with name/value pairs, so am I right in thinking for a simple list, seperated by line breaks, a file is the most sensible choice ? If so, what happens if someone else tries to write to the file whilst I am working with it ?
View Replies !
Random Signature Generator
I'm trying to find a script for use on vB that will randomly generate a banner image (from a few images that I select in advance) when it loads in my signature. I've seen them at work, but can't seem to find them on, say, yahoo, or google.
View Replies !
Class Or Function For A Key Generator?
I need to be able to produce a string consisting of uppercase letters and numbers. I would also like it to produce e.g. a string of 6 characters all the time. A given number must allways result in same string such as "AE4YX8". Would also be nice if I could go from the string to the original number as well. Anyone with links to sites with example on how to do this?
View Replies !
Wanted: PHP Site Map Generator!
Having spent my free time over the last few months converting several hundred pages of mainly static (s)html into eight pages of data driven php loveliness and a whopping MySQL database I'm faced with a bit of a dilemma. Will search engines be able to crawl all the index.php?query paths so people can find stuff? I'm currently at the top of the heap on Google as my site has been around for years and is pretty niche and I don't want to lose that advantage. Which leads to the main part of the question; is there a 'site map' generator which will vreate a single crawlable HTM page with all my possible pages on iot which I can then link to from my home page which will enable the search spiders to do their thing? Or am I left with the unenviable task of having to put response/redirects on all the old pages pointing to the equivalent dynamic pages?
View Replies !
Random Pixel Generator
Im trying to create a program that generates random pixels from a set picture.. i know how to write a random number generator its just figuring out how to take that one step further and getting it to grab pixels from a picture and show them one by one when somebody clicks generate button. there needs to be 1,000,000 pixels in total. Raar my head hurts trying to think of a way to do it!
View Replies !
Auto Generator Codes.
I know this is very easy. what i want is a six codes generator. Let say i have a button when i press this button it will generate six digit codes. for example i have this code 543545. now i wanted also when i use this code it will tell me it's the valid codes. maybe you have the idea, just want to know the functions that i should use for this.
View Replies !
Secret Code Generator
The idea is that I can make a password and then encrypt it to make it safe when sending instant messages and emails to colleagues containing sensitive information. The only way I could get this to work was by entering 1 letter per box. I want to be able to type a series of letter or words into one txt area and it be converted as usual.
View Replies !
Random Password Generator
how can I make a password generator using php and javacript so that whenever a button is clicked it generates a random password in a text box. I've already done the password generator code. When I click on the button it generates a password but if I click it again it won't generate a different code. So is there a way to have it generate a different password each time? Right now when I click on the button it will call the javascript function to change the text in the input box to echo rand_pass(); like so <input id="password" name="password" type="text" size="71" maxlength="128" style="margin-top:2px;" tabindex="26"/> <input name="rand_pass" id="rand_pass" type="button" value="generate" onClick="generate( 'password', '<?php echo rand_pass(); ?>' );" class="Buttons">
View Replies !
Search Snippet Generator
I'm coding a script that searches a MySQL DB. On the results page I would like to include page snippets with the highlighted search query. I intended to do the snippets similar to Google. how to code this "snippet-generator"?
View Replies !
Dynamic Query Generator
I am developing a website and i would like to let a certain type of user to be able to generate their own report, by selecting the table column or attribute they would like to include in their report. I have different ways of doing that, but I couldn't not figure out how to pass the variable to the query. Also, once the user made his or her selection, I would love to save the information the user provided so that when the user log in and access the report he or she won't have to select the attribute again, unless he or she wants to add or remove attributes. I hope that I made myself clear enough.
View Replies !
|