Search found 23 matches
- Wed Apr 12, 2006 5:37 pm
- Forum: PHP - Code
- Topic: cut portion of image
- Replies: 1
- Views: 313
cut portion of image
Hello, I was wondering if it is possable to take an image, crop out a segment, and save that segment as a different file. I looked at the ImageCopy function, but I am sort of lost in it...the php manual does not elaborate much on it. Here is what I have found: int ImageCopy (resource dst_im, resourc...
- Sun Mar 12, 2006 5:59 pm
- Forum: Miscellaneous
- Topic: Forms : "post"ing
- Replies: 1
- Views: 1277
Forms : "post"ing
Hello,
I was wondering if there was a way to post information from a form to a page without displaying that page.
ex:
My form: http://www.mysite.com/form.htm
which posts to http://www.myothersite.com/formdata.htm
How can I have my form post to the other page without displaying the resulting page?
I was wondering if there was a way to post information from a form to a page without displaying that page.
ex:
My form: http://www.mysite.com/form.htm
which posts to http://www.myothersite.com/formdata.htm
How can I have my form post to the other page without displaying the resulting page?
- Sat Mar 11, 2006 3:58 pm
- Forum: PHP - Code
- Topic: Server Query
- Replies: 3
- Views: 417
Yes, you are correct. I should have seen that, I had a long day yesterday. Thanks. My new issue: when the server is queried, the player list is generated, but it also includes all the extra information, like player stats and current round information. Is there a way to exclude this? I was looking ar...
- Fri Mar 10, 2006 9:52 pm
- Forum: PHP - Code
- Topic: Server Query
- Replies: 3
- Views: 417
Server Query
Hello, I recently downloaded the gsQuery package. I have messed around with it, and figured out how it functioned. Here is one of the full examples: <?php header("Content-type: text/html", TRUE); // application/xhtml+xml normally, but M$ does not know what web standards are... ?> <?php /* ...
- Wed Jan 18, 2006 3:54 pm
- Forum: PHP - Code
- Topic: Read text from image
- Replies: 1
- Views: 199
Read text from image
Hello, Is is possible to read the text from a png file in php? The length of the text would always be 32 characters, with never any spaces. The string starts after a * and ends at the next * eg: *ddb95d7abcdfb7f79f96ba59aa89waa6* Now, each image would have a different set of characters, but they wou...
- Sun Jan 15, 2006 10:13 pm
- Forum: PHP - Code
- Topic: PHPBB topic sql
- Replies: 2
- Views: 191
PHPBB topic sql
I would like some help from somebody who knows how phpbb works....
I am not looking to create a forum...that is way beyond me
I would just like the sql code that would be needed to create a new topic. I would not be going through phpbb itself, it would be a seperate script on my site.
I am not looking to create a forum...that is way beyond me
I would just like the sql code that would be needed to create a new topic. I would not be going through phpbb itself, it would be a seperate script on my site.
- Fri Dec 09, 2005 4:48 pm
- Forum: PHP - Code
- Topic: Image Cache
- Replies: 3
- Views: 298
- Fri Dec 09, 2005 4:02 pm
- Forum: PHP - Code
- Topic: Image Cache
- Replies: 3
- Views: 298
Image Cache
I am using GD to place text on an existing image. This works fine. However, each time the image is called, a server is queried...Now, this image may appear on many pages, so I would only want the image to update every 5 or 10 minutes. How can I implement a cache? I read something about headers and e...
- Tue Dec 06, 2005 5:40 pm
- Forum: PHP - Code
- Topic: fread();
- Replies: 6
- Views: 378
- Tue Dec 06, 2005 5:02 pm
- Forum: PHP - Code
- Topic: fread();
- Replies: 6
- Views: 378
- Tue Dec 06, 2005 6:38 am
- Forum: PHP - Code
- Topic: fread();
- Replies: 6
- Views: 378
fread();
I am using the fread function to get data from a remote server. The problem is, however, that I do not know the length of data being recieved.
How can I get the data from the remote server without knowing the length of the data?
How can I get the data from the remote server without knowing the length of the data?
- Tue Dec 06, 2005 6:36 am
- Forum: PHP - Code
- Topic: Query Server
- Replies: 2
- Views: 406
- Mon Dec 05, 2005 7:05 pm
- Forum: PHP - Code
- Topic: Query Server
- Replies: 2
- Views: 406
Query Server
Okay... I am trying to query an application that I developed via php. Here is what I am confused on: -The socket on the app is using a command that sends just text. It does not use a file stream or anything like that. Will php accept this? -I have connected to the application using the following cod...
- Fri Nov 25, 2005 5:04 pm
- Forum: PHP - Code
- Topic: Handle Errors
- Replies: 2
- Views: 290
- Fri Nov 25, 2005 4:42 pm
- Forum: PHP - Code
- Topic: Handle Errors
- Replies: 2
- Views: 290
Handle Errors
Hey guys, I have been learning bits of php here and there, and I was wondering how to handle errors. For example , if I were to do a sql query (That returned an empty set), and assign variables to results in specific fields, how would I display my own error message, rather than mysql_result(): unabl...