[PHP] Merging Results of Queries

2002-03-26 Thread Daniel Ferreira Castro
Hello guys I have a database system that has many databases and many tables on each database. I am trying to create a kind of search engine to seek data all over my database. I need to know if is possible to merge the results of my queries to later show them on a table or it is easier to

[PHP] strip spaces from inside string

2002-03-26 Thread Chuck Barnett
Say I have a string xyz abc def and I want to remove all of the spaces withing the string to create a new one. What's the best way? Thanks, ChuckB -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] strip spaces from inside string

2002-03-26 Thread Chris Boget
Say I have a string xyz abc def and I want to remove all of the spaces withing the string to create a new one. What's the best way? ? $string = xyz abc def; $stringWithOutSpaces = implode( , explode( , $string )); ? Or you can use eregi_replace(), but I don't know what the regex would

RE: [PHP] strip spaces from inside string

2002-03-26 Thread Rick Emery
?php $old = xyz abc def; $newstr = ereg_replace( ,,$old); ? -Original Message- From: Chuck Barnett [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 03, 2002 2:01 PM To: PHP General List Subject: [PHP] strip spaces from inside string Say I have a string xyz abc def and I want to

[PHP] Re: Merging Results of Queries

2002-03-26 Thread Julio Nobrega Trabalhando
You can select from multiple databases and tables, ie: SELECT database.table.field, otherdb.othertable.other FROM database.table, otherdb.othertable; Even from two, three, four databases. But your queries might either get too complicated or slow. So, store the results from simpler

Re: [PHP] FTP RAW

2002-03-26 Thread Analysis Solutions
Hey Chris: On Tue, Mar 26, 2002 at 12:44:21PM -0700, Chris wrote: OK. I don't know how I can be more specific, but I will try. Dude, let's look at your initial question to the list: Can anyone help me with the command I need for a RAW FTP file upload? I can create connections and they

Re: [PHP] [Session]

2002-03-26 Thread Erik Price
On Tuesday, March 26, 2002, at 02:42 PM, Evan wrote: I have PHP 4.1.2 (the latest, I downloaded it a week ago). The manual says that: * If track_vars is enabled and register_globals is disabled, only members of the global associative array $HTTP_SESSION_VARS can be

[PHP] sorting data from a field

2002-03-26 Thread Chuck Barnett
Hello again :) I have a db field that holds the first and last name of a person. Is there a way to sort by the last name in that field? The whole reason for this is to populate a select box sorted by last name. I don't want to go back and create a separate field if I don't have to. Any help

Re: [PHP] sorting data from a field

2002-03-26 Thread Miguel Cruz
On Sun, 3 Feb 2002, Chuck Barnett wrote: I have a db field that holds the first and last name of a person. Is there a way to sort by the last name in that field? The whole reason for this is to populate a select box sorted by last name. I don't want to go back and create a separate

RE: [PHP] sorting data from a field

2002-03-26 Thread Darren Gamble
Good day. You can do this using the ORDER clause in SQL. Please consult your particular database's documentation for more information. Alternately, you can load all of the unsorted results into an associative array, and use PHP's native sorting functions (such as ksort() ) to sort the results.

RE: [PHP] sorting data from a field

2002-03-26 Thread Darren Gamble
Good day, Sorry, I didn't read your request as clearly as I should have. =) If you have a single field, the best way would be to load all of the results, and then have PHP split() the results by whitespace. Then store the results by associative array and use ksort() to sort them. The best way

[PHP] templates with php

2002-03-26 Thread javier
Has anybody uses other engine besides Smart or php-templates (freebsd ports) I trying to get into the subject but I don't know which to start with. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] sorting data from a field

2002-03-26 Thread javier
To do that is it necesary to loop the $result variable and assign each array($name = $value) ? Alternately, you can load all of the unsorted results into an associative array, and use PHP's native sorting functions (such as ksort() ) to sort the results.

RE: [PHP] sorting data from a field

2002-03-26 Thread Rick Emery
you can extract and sort on the last name: mysql select substring(myname,locate( ,myname)+1) as lname from mytable order by lname; this assumes names are stored as john doe, that is with a space separator -Original Message- From: Chuck Barnett [mailto:[EMAIL PROTECTED]] Sent: Sunday,

Re: [PHP] Loading Images

2002-03-26 Thread heinisch
At 26.03.2002 12:47, you wrote: I don't have any code for this, but I'm hoping someone can point me in the right direction. I want to load images or navigation menus dynamically. Is it possible to build a database of images and then use php to display them? Or something along these lines. I

[PHP] [Newman] Help Needed with a redir script.

2002-03-26 Thread Philip J. Newman
I have a list of links! $linkone=http://server1.dyndns.org/;; $linktwo=http://server2.dyndns.org/;; I would like to make a script that looks for http://server1.dyndns.org/, if it returns a 404, or DNS error then it redirects to http://server2.dyndns.org/ this server. Any suggestions. Philip

Re: [PHP] Loading Images

2002-03-26 Thread Omland Christopher m
I wasn't so much concearned about security of users grabbin pics. I am more trying to learn how these people load there menus dynamically and pics dynamically. Do you have any links to pages or code that describe how to make a link in the db to pics on my filesystem? Thanks. -Chris On Tue, 26

[PHP] Having problems getting file uploads to work properly

2002-03-26 Thread Joel Caturia
Greetings: I am having problems getting file uploads to completely function. I have a test script that acknowledges the file was successfully uploaded, and I can use the “move_uploaded_file” function without error, however, NOTHING shows up in any of the directories I’m dealing with. I know

Re: [PHP] [Session] (it seems to be a bug in PHP 4.1.2)

2002-03-26 Thread Chris
On 26 Mar 2002 at 20:42, Evan wrote: I have PHP 4.1.2 (the latest, I downloaded it a week ago). PHP 4.1.2 has several bugs. One of them is that Apache and sessions variables do not work. It is best not to upgrade to 4.1.2! see the bug report on session variables following discussion and

[PHP] Where is php.ini on Mac OS X?

2002-03-26 Thread Chuck \PUP\ Payne
Can some one please tell me where php.ini is located on Mac OS X? Thanks, Chuck Payne Magi Design and Support -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Where is php.ini on Mac OS X?

2002-03-26 Thread Chuck \PUP\ Payne
Can some one please tell me where php.ini is located on Mac OS X? Thanks, Chuck Payne Magi Design and Support -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] how to get consistent UTC from gmmktime (w/o dst-offset) ????

2002-03-26 Thread Patrick Sibenaler
hi. i'm storing events in a mysql-db, using epoch timestamps to pinpoint the exact date/time for an event. so far, I have been using localtime, being aware that there are inconsistencies in the number of epoch-seconds, when DST flips on and off. nevertheless, that works fine as long as you

[PHP] Re: [PHP-DB] how to get consistent UTC from gmmktime (w/o dst-offset) ????

2002-03-26 Thread DL Neil
BTW for all who are following this, Patrick has cleverly illustrated that most of the northern hemisphere locations where summer time is observed will 'spring forward' this weekend. Most of the southern hemisphere locations that were in summer time did their 'fall back' last weekend! NB the two

[PHP] PHP and APACHE VirtualDomains

2002-03-26 Thread Max Wilson
We have PHP and APACHE (1.3.19) installed and an instance of apache is running with php support enabled. I need to set up another instance of httpd using a seperate config file. However I cannot get PHP support enabled. I cannot find where the PHP modules are. I called a phpinfo() on the

RE: [PHP] [Newman] Help Needed with a redir script.

2002-03-26 Thread SHEETS,JASON (Non-HP-Boise,ex1)
Not sure on the 404 part, you might look at CURL. For the DNS part you could do if (!gethostbyname(server1.dydns.org)) { header (Location server2.dycns.org); } This function is in the PHP manual. Jason -Original Message- From: Philip J. Newman [mailto:[EMAIL PROTECTED]] Sent:

RE: [PHP] [Session]

2002-03-26 Thread Johnson, Kirk
I am probably wrong about this, but I thought that you could register session variables using this technique only if you are using PHP 4.1.x and you use the format: $_SESSION['v_s'] = 500; The key point is the register_globals setting in php.ini. If it is set to on, then register

[PHP] Problem sending email message, from Newman.

2002-03-26 Thread Philip J. Newman
Below is some code that I have used to send an email Via mail. The message sends with the correct data, HOWEVER my mail server don't like the header and sends the email back to admin. ROUTER: Failure delivering mail message to recipient: [EMAIL PROTECTED] [ROUTER: Unexpected SMTP Server

Re: [PHP] Where is php.ini on Mac OS X?

2002-03-26 Thread Richard Baskett
Try looking in your /usr/local/bin directory.. It should be there. Cheers! Rick And God shall wipe away all tears from their eyes; and there shall be no more death, neither sorrow, nor crying, neither shall there be any more pain: for the former things are passed away. - Revelation 21:4

Re: [PHP] Problem sending email message, from Newman.

2002-03-26 Thread Miguel Cruz
Can you show the contents of the variable $email ? miguel On Wed, 27 Mar 2002, Philip J. Newman wrote: Below is some code that I have used to send an email Via mail. The message sends with the correct data, HOWEVER my mail server don't like the header and sends the email back to admin.

RE: [PHP] Loading Images

2002-03-26 Thread Kevin Stone
It is quite easy to store images in a database and display them on the screen. You can find tutorials about this online (sorry I don't have any direct links). There are also numerous FREE scripts pre-written that you can integrate into your site, or use to learn how to do this yourself. There

Re: [PHP] Problem sending email message, from Newman.

2002-03-26 Thread Philip J. Newman
$email = [EMAIL PROTECTED] example - Original Message - From: Miguel Cruz [EMAIL PROTECTED] To: Philip J. Newman [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, March 27, 2002 11:14 AM Subject: Re: [PHP] Problem sending email message, from Newman. Can you

Re: [PHP] Problem sending email message, from Newman.

2002-03-26 Thread Miguel Cruz
Ah, never mind, the problem is that your From: header is invalid. You have: From: Philip J. Newman which is not a valid address format. Try something like this: From: Philip J. Newman [EMAIL PROTECTED] miguel On Wed, 27 Mar 2002, Philip J. Newman wrote: $email = [EMAIL PROTECTED]

Re: [PHP] Re: which php book 2 buy ?

2002-03-26 Thread Rasmus Lerdorf
It is, the picture should prove that. On Tue, 26 Mar 2002, Scott St. John wrote: I didn't think Programming PHP was out yet? On Tue, 26 Mar 2002, Rasmus Lerdorf wrote: Or, of course, if you want to be cool like Carl: http://lerdorf.com/buy/ ;) -Rasmus On Tue, 26 Mar

[PHP] Re: OT Re: [PHP] Re: which php book 2 buy ?

2002-03-26 Thread Rasmus Lerdorf
No idea, I don't follow O'Reilly covers all that closely. This one arrived on my doorstep a couple of days ago. According to Barnes Noble it starts shipping today. Not sure why Amazon says it isn't published yet. The fact that I have a copy would seem to disprove that. -Rasmus On Tue, 26

Re: [PHP] Loading Images

2002-03-26 Thread Justin French
U, is that correct? I thought (although never tried) that you could reference an image as IMG SRC=image.php?id=3 or simular, in which case the headers and everything else CAN be sent in the image tag, which is embeded in a HTML page -- isn't that how they do counters etc etc?? At the

[PHP] Code Bulk

2002-03-26 Thread Gerard Samuel
Im in a debate with someone else. Basically were debating code bulk. This is just an example - ?php if (isset($run_this_code)) { echo $this-run_this_code; } echo 'Finished'; ? Now, if I understand php correctly, the whole script gets parsed, but since $run_this code isn't set,

RE: [PHP] Code Bulk

2002-03-26 Thread Martin Towell
any speed difference will be miniscule/negligible - is speed, to the microsecond, important in this situation? -Original Message- From: Gerard Samuel [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 27, 2002 11:23 AM To: PHP Subject: [PHP] Code Bulk Im in a debate with someone else.

Re: [PHP] Code Bulk

2002-03-26 Thread Gerard Samuel
Actually, the file in question is 3000 lines long, 99% in functions. Im trying to tell him that he may not see any speed ups in code execution. As long as I know Im right, its just the peace of mind when I go to bed tonight :) Martin Towell wrote: any speed difference will be

[PHP] Re: Code Bulk

2002-03-26 Thread Philip Hallstrom
Why not just take that file and remove anything that isn't a function (so nothing actually executes) and then do something like: print microtime(); include thatfile.php; print microtime(); and see how long it took to parse 3000 lines... one more line isn't going to make that much difference.

RE: [PHP] Re: which php book 2 buy ?

2002-03-26 Thread Vail, Warren
Great photo :-} Any reviews on the book yet? Warren Vail Tools, Metrics Quality Processes (415) 667-7814 Pager (877) 774-9891 215 Fremont 02-658 -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 26, 2002 3:29 PM To: Scott St. John Cc: Ralph

[PHP]

2002-03-26 Thread Vlad Kulchitski
Hi can anyone help me, I am getting this error when I try to start session: Warning: Cannot send session cookie - headers already sent by (output started at /var/www/kulchitski/btl/btl.php:2) in /var/www/kulchitski/btl/_talkroom_edit.php on line 39 I didn't start session before, in fact I never

[PHP] rdf utf-8 to sql mysql latin1

2002-03-26 Thread David D
Hi all, My purpose is to transform an rdf utf-8 file into sql for mysql. Data are both in french/english, in french there are stange caractere that doesnt render well (çèé...) What the output had to be ? Mysql only support latin1 ? I m lost in all that encodage ! Help me I dont know how to

Re: [PHP] [Session] (it seems to be a bug in PHP 4.1.2)

2002-03-26 Thread Rasmus Lerdorf
Just to clarify, that is a Windows-specific bug. Non-Windows works just fine. On Tue, 26 Mar 2002, Chris wrote: On 26 Mar 2002 at 20:42, Evan wrote: I have PHP 4.1.2 (the latest, I downloaded it a week ago). PHP 4.1.2 has several bugs. One of them is that Apache and sessions variables do

Re: [PHP]

2002-03-26 Thread eric.coleman
That would mean that you have some type of output to the browser, i.e. blank line, or some text, before you are calling your session/cookie - Original Message - From: Vlad Kulchitski [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, March 26, 2002 8:17 PM Subject: [PHP] Hi can

Re: [PHP] Re: Code Bulk

2002-03-26 Thread Gerard Samuel
That is an excellent example. And just for the hell of it, Ill leave the lines that aren't in the function as is, just for the hell of it. Thanks. Philip Hallstrom wrote: Why not just take that file and remove anything that isn't a function (so nothing actually executes) and then do something

Re: [PHP]

2002-03-26 Thread Miguel Cruz
On Tue, 26 Mar 2002, Vlad Kulchitski wrote: Hi can anyone help me, I am getting this error when I try to start session: Warning: Cannot send session cookie - headers already sent by (output started at /var/www/kulchitski/btl/btl.php:2) in /var/www/kulchitski/btl/_talkroom_edit.php on line

[PHP] Building Libraries

2002-03-26 Thread Alexandre Soares
Hi All, This is my first participation in this group, so my question is I write a function in c, but I need use this function and more joined in a library make using the command ar rc alexlib.a x.o, but this procedure show a error when I use this in my browser, please anyone can help

RE: [PHP]

2002-03-26 Thread Vlad Kulchitski
OK, hope you don't mind I follow up a question, and it will be up to you to answer or not, this is very general and important to me. My whole project main template is FILE.PHP, the content is changed based on the values sent via QUERY_STRING. SO: Below is the approximate outline: (basically

[PHP] design pattern

2002-03-26 Thread Kancha .
can anybody point me to tutorial, articles on implementing design patterns using PHP ?? __ Do You Yahoo!? Yahoo! Movies - coverage of the 74th Academy Awards® http://movies.yahoo.com/ -- PHP General Mailing List (http://www.php.net/) To

RE: [PHP]

2002-03-26 Thread Miguel Cruz
I don't know if this helps, but you may find life becomes simpler if you keep all your session variables in one array. Then you can session_register that at the very top of your code and cover all bases at once. miguel On Tue, 26 Mar 2002, Vlad Kulchitski wrote: OK, hope you don't mind I

[PHP] Any PHP equivalent of Macromedia ColdFusion's location tag?

2002-03-26 Thread webapprentice
Is there any PHP function that works like ColdFusion's location tag? After a certain execution, I wish to leave the current PHP page entirely and go to another page. Is this possible? I'm scouring the help stuff and am still digging for answers. Thanks.

RE: [PHP] Any PHP equivalent of Macromedia ColdFusion's location tag?

2002-03-26 Thread Jason Murray
Is there any PHP function that works like ColdFusion's location tag? After a certain execution, I wish to leave the current PHP page entirely and go to another page. Is this possible? That's a HTTP Header, so you want to use the ... Header() command. A Location header is what does the

[PHP] ID NUMBER HELP

2002-03-26 Thread Omland Christopher m
Can someone help me with this. I'm trying to get ?id= set to the id number of the name in the database. I can get ?id=THE NAME but I can't get it to pick up the id number. here is the code im trying: while($row = mysql_fetch_array($result)) { printf(a

RE: [PHP] ID NUMBER HELP

2002-03-26 Thread Demitrious S. Kelly
Try echo 'a href='.$PHP_SELF.'?id='.$row[ID].''.row[name].'/a'; if $row[id] still isn't shown, then you most likely aren't getting the right data from the database to the correct variable... -Original Message- From: Omland Christopher m [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March

Re: [PHP] Any PHP equivalent of Macromedia ColdFusion's location tag?

2002-03-26 Thread webapprentice
Hi, Thanks for the reply. I saw this as well in the mailing list archives, but everyone is saying you cannot output ANYTHING before calling header. Unfortunately, I'm calling this at the end of a process, so it won't work. It tells me I've already sent out header information. I've basically

Re: [PHP] Any PHP equivalent of Macromedia ColdFusion's locationtag?

2002-03-26 Thread Rasmus Lerdorf
So use a Javascript meta-refresh On Wed, 27 Mar 2002, webapprentice wrote: Hi, Thanks for the reply. I saw this as well in the mailing list archives, but everyone is saying you cannot output ANYTHING before calling header. Unfortunately, I'm calling this at the end of a process, so it

[PHP] PDFlib error - pdf_color or pdf_setrgbcolor

2002-03-26 Thread Wayne Bastow
Hi, I'm trying to fill a rectangle with color in a php generated PDF document. I get the following error: *Fatal error*: PDFlib error: illegal state 0x in */usr/local/apache/htdocs/EDR/generate_edr.php* on line *144* I have tried both of the following on line 144:

[PHP] Re: Code Bulk

2002-03-26 Thread Steve Clay
GS ?php GS echo 'Finished'; ? I can do one better: ... ?Finished?php ... Seriously, I think he's right to think parsing 3000 lines with *every* call will be less than ideal. He should use include() conditionally to grab only the necessary code, but only to an extent. Then you start adding

Re: [PHP] Any PHP equivalent of Macromedia ColdFusion's location tag?

2002-03-26 Thread webapprentice
Hi Mr. Lerdorf, I look forward to you upcoming O'Reilly PHP book. =) Yes, a META tag refresh or Javascript control seems to be the only way left. Strange that URL redirection is so unusual to implement in PHP compared to ASP or Coldfusion (unless they do something klunky under the hood).

RE: [PHP] Any PHP equivalent of Macromedia ColdFusion's location tag?

2002-03-26 Thread Jason Murray
Or, alter your page's structure so that it writes its output into a buffer, and echo/print it at the end of the page. That way you can do the redirect at any point it's needed within the page logic. Jason -- Jason Murray [EMAIL PROTECTED] Web Developer, Melbourne IT Work now, freak later!

Re: [PHP] Any PHP equivalent of Macromedia ColdFusion's locationtag?

2002-03-26 Thread Rasmus Lerdorf
Hi Mr. Lerdorf, I look forward to you upcoming O'Reilly PHP book. =) Yes, a META tag refresh or Javascript control seems to be the only way left. Strange that URL redirection is so unusual to implement in PHP compared to ASP or Coldfusion (unless they do something klunky under the hood).

Re: [PHP] Any PHP equivalent of Macromedia ColdFusion's locationtag?

2002-03-26 Thread Justin French
Seems like you're getting confused about output verses php code. Let's say you have a file called form.php... it submits to itself, checking the submitted data. if the form input is good, you want to do stuff, then redirect them to a thanks page. if it isn't, you want to send them back to try

[PHP] How to get user full name using PHP function?

2002-03-26 Thread gaukia 345
Hi all, I'm writing a web mail. Having problem grabbing user full name to be included in the email. So I hv a few questions: 1) How do I fetch the user's full name using a PHP function WITHOUT calling system program finger? I already have the Linux user ID and password since I am using HTTP

Re: [PHP] How to get user full name using PHP function?

2002-03-26 Thread Jason Wong
On Wednesday 27 March 2002 14:44, gaukia 345 wrote: Hi all, I'm writing a web mail. Having problem grabbing user full name to be included in the email. So I hv a few questions: 1) How do I fetch the user's full name using a PHP function WITHOUT calling system program finger? I already have

[PHP] Does this seem odd? File Upload Permissions

2002-03-26 Thread David McInnis
Why does PHP set the execute bit on an uploaded file? This means a user could upload a script and it would be executable. Ouch! Especially if the file is available via httpd after upload. . . HELP. I am saving to a directory with permissions of 766 And when php copies the file it assigns the

RE: [PHP] Does this seem odd? File Upload Permissions

2002-03-26 Thread Demitrious S. Kelly
The default file permission for new files on the *nix system may be set to something like 755... that could be the problem... -Original Message- From: David McInnis [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 26, 2002 11:03 PM To: [EMAIL PROTECTED] Subject: [PHP] Does this seem odd?

Re: [PHP] Does this seem odd? File Upload Permissions

2002-03-26 Thread Rasmus Lerdorf
First, the execute bit means nothing over HTTP. So they couldn't just execute it remotely. They would need an account on the box. And second, PHP does not set the x bit, you are doing that. Check your default umask or set it explicitly with a call to umask() before copying the file into

RE: [PHP] Does this seem odd? File Upload Permissions

2002-03-26 Thread Demitrious S. Kelly
That's not entirely true... if php is running as cgi it would need the execution bit set. Or if someone wanted to write a shell script in php to be used to help compromise a server it would need to be executable as well... -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL

RE: [PHP] Does this seem odd? File Upload Permissions

2002-03-26 Thread Rasmus Lerdorf
But it would mean that you would have to severly misconfigure your server and write severely braindead code. Simply putting a file in your document_root that has the x bit set will under normal circumstances not do anything. On Tue, 26 Mar 2002, Demitrious S. Kelly wrote: That's not entirely

RE: [PHP] Does this seem odd? File Upload Permissions

2002-03-26 Thread Demitrious S. Kelly
Either severely mis-configure, or make a mistake (damn us humans and our mistakes :) -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 26, 2002 11:15 PM To: Demitrious S. Kelly Cc: 'David McInnis'; [EMAIL PROTECTED] Subject: RE: [PHP] Does this seem

Re: [PHP] How to get user full name using PHP function?

2002-03-26 Thread Miguel Cruz
On Wed, 27 Mar 2002, gaukia 345 wrote: I'm writing a web mail. Having problem grabbing user full name to be included in the email. So I hv a few questions: 1) How do I fetch the user's full name using a PHP function WITHOUT calling system program finger? I already have the Linux user ID

RE: [PHP] Does this seem odd? File Upload Permissions

2002-03-26 Thread David McInnis
OK. But I am not changing the permissions. How am I setting the x bit? I am not doing anything in my code except executing a copy() or move_uploaded_file(). Is my server not configured correctly? If so, how do I change the default permissions? By the way, move_uploaded_file() sets

[PHP] Getting QUALITY text on an image

2002-03-26 Thread Michael A. Peters
Here's the situation. I run the website for a macintosh user folding@home team. We are providing certificates for users who have done a signifigant amount of work for the team. I have jpeg templates and I'm using ImageTTFBBox and ImageTTFText to write the username of the user on the

[PHP] Trans_sid

2002-03-26 Thread Richard Baskett
Is there any other way of enabling trans_sid besides when compiling php? Can I enable it in the php.ini file or .htaccess? And if so what would the syntax be? I've tried multiple things, but nothing seems to work.. If that's not possible is there a way of getting rid of the '?' in the url when

Re: [PHP] Getting QUALITY text on an image

2002-03-26 Thread Miguel Cruz
I can't imagine you'll ever get results that are to anyone's satisfaction using JPEGs unless they aren't wearing their glasses. How about PDF? miguel On Tue, 26 Mar 2002, Michael A. Peters wrote: Here's the situation. I run the website for a macintosh user folding@home team. We are

Re: [PHP] Loading Images

2002-03-26 Thread Oliver Heinisch
At 26.03.2002 14:44, you wrote: I wasn't so much concearned about security of users grabbin pics. I am more trying to learn how these people load there menus dynamically and pics dynamically. Do you have any links to pages or code that describe how to make a link in the db to pics on my

Re: [PHP] Does this seem odd? File Upload Permissions

2002-03-26 Thread Jason Wong
On Wednesday 27 March 2002 15:33, David McInnis wrote: OK. But I am not changing the permissions. How am I setting the x bit? I am not doing anything in my code except executing a copy() or move_uploaded_file(). Is my server not configured correctly? If so, how do I change the default

<    1   2