Re: [PHP] PHP5 - Weird Error - "cannot find element in variable"

2004-08-06 Thread Miguel
ppens when i use the debbuger (Zend 3.5). If i run the script normally it just does nothing! So i think we have a really nasty bug. Can anyone tell me what to do? Miguel Manso -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Good eve

2002-12-06 Thread Miguel Brás
??s ? Thx in advance Miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Date

2002-12-06 Thread Miguel Brás
And sorry about the subject, it should be Date "Miguel BráS" <[EMAIL PROTECTED]> escreveu na mensagem [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I have a table with several field, one of them has a date insertion on the > d/m/y format. > I would like to return

Re: [PHP] Good eve

2002-12-06 Thread Miguel Brás
thx to both Miguel "Rolf Vreijdenberger" <[EMAIL PROTECTED]> escreveu na mensagem [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > SELECT field1, field2, field3 FROM table WHERE date=NOW() > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Date again

2002-12-06 Thread Miguel Brás
sition from 21:00 to 23:00 on 08th Decemeber. Someone come and try to apply also for FSS but from 19:00 to 20:30 or from 21:30 to 22:30. Since the position is occupied during a portion of the requested time or during all the requested time, how can I prevent this to be added on the table?? Thx Migue

[PHP] Next and Previous

2003-01-14 Thread Miguel Brás
hp?ID=501 how to add a link for the page to show the ID=502 and the ID=500 Regards Miguel PS- And don't strange about the letter color, I don't know why i green now!!! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Next and Previous

2003-01-14 Thread Miguel Brás
Hi, it's giving me an error. it assumes the next page as news.php?ID=1 and the previous as news.php?ID=-1 Any hint for that? Miguel "Chris Shiflett" <[EMAIL PROTECTED]> escreveu na mensagem [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > --- Miguel Brás <[E

Re: [PHP] Next and Previous

2003-01-14 Thread Miguel Brás
That's not the case, I tested it on ID549 and the previous one should be 548 and he still assume -1 Miguel "Timothy Hitchens )" <[EMAIL PROTECTED]> escreveu na mensagem 000101c2bc33$7e887020$0500a8c0@bambino">news:000101c2bc33$7e887020$0500a8c0@bambino... This is bec

Re: [PHP] Next and Previous

2003-01-14 Thread Miguel Brás
Let's see i solved thhe problem... I did since I was making the select with WHERE ID = '$ID' so I get the var $ID., Thx for the help of all Miguel "Matt" <[EMAIL PROTECTED]> escreveu na mensagem 034901c2bc37$41429160$[EMAIL PROTECTED]">news:034901c2bc37$4

[PHP] Send email when some action

2003-01-15 Thread Miguel Brás
e, or from active to inactive? I mean, whenever a change occur on member's details, a mail is sent to him telling what was changed. Any posssibility? Miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Send email when some action

2003-01-16 Thread Miguel Brás
thx for the replies Miguel "Maxim Maletsky" <[EMAIL PROTECTED]> escreveu na mensagem [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... mail() function @ http://php.net/mail -- Maxim Maletsky [EMAIL PROTECTED] "Miguel Brás" <[EMAIL PROTECTED]> wrote... : &

[PHP] get the $email string

2003-01-16 Thread Miguel Brás
how do I get the e-mail address to send? I mean, the mail function is mail ("$to","$subject","$message","From: $sender"); How can I take the $to string to be [EMAIL PROTECTED]? Miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Delete files via PHP

2003-01-31 Thread Miguel Brás
ystem Thx in advance Miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Delete files via PHP

2003-01-31 Thread Miguel Brás
fuction was able to do it. Sorry for thge trouble Miguel "Øyvind vestavik" <[EMAIL PROTECTED]> escreveu na mensagem [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Read the manual first. If you can't find it, search the net (google is a great place to start). If you st

Re: [PHP] Delete files via PHP

2003-02-01 Thread Miguel Brás
on is found on php.ini or if the directory permissions aren't set as they should be. Miguel "Jason Wong" <[EMAIL PROTECTED]> escreveu na mensagem [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Saturday 01 February 2003 03:23, Miguel Brás wrote: > > Hey, thx for

[PHP] Redeclare formatdate

2003-02-01 Thread Miguel Brás
code is used in page not_main.php whose I included it on main.php using require() function Anyone have a tip for it? Thx Miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Redeclare formatdate

2003-02-01 Thread Miguel Brás
Thx for the help... Miguel "Jason Sheets" <[EMAIL PROTECTED]> escreveu na mensagem [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > This is a good reason to use include_once and require_once. > > Jason > > On Sat, 2003-02-01 at 15:59, John W. Holmes wrote:

[PHP] Execute at a defined time

2003-02-05 Thread Miguel Brás
Hi, I was looking on PHP manual but didn't find anything about it. How can I execute a script all days at the same time? I kno i must have access to the CRON of the system, but don't know what function should I use to make this happen (run the script). Miguel -- PHP General Ma

Re: [PHP] Execute at a defined time

2003-02-05 Thread Miguel Brás
Thx all for the help Problem solved Miguel "Jason Sheets" <[EMAIL PROTECTED]> escreveu na mensagem [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi Miguel, You can use cron to execute the CGI or CLI version of PHP against your PHP script, for example /usr/local/bin/php ex

[PHP] Read file and get what i want

2003-02-06 Thread Miguel Brás
){ echo "TAP is online"; } else { echo "TAP isn't online"; } Was I clear enough? Anyone has an ideia for this? Miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Different dates with lmost same script

2003-02-06 Thread Miguel Brás
s date if posted today, yesterday's date if posted yesterday. Any idea for that? I checked the table, and the date is correct...i don't know what else to do Miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Different dates with lmost same script

2003-02-07 Thread Miguel Brás
s date if posted today, yesterday's date if posted yesterday. Any idea for that? I checked the table, and the date is correct...i don't know what else to do Miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Show the info to update depending on the selection

2003-02-11 Thread Miguel Brás
that he doesn't displays $functions when selecting a option from the drop down menu? Any help out there? Miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Data from DB

2003-02-17 Thread Miguel Brás
Hello gents, I have a table with users and passwords with over than 100 rows. I have 7 specific users that I wanna display on a page, as well their data. How can I display this specific users on the page? Thx Miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] Data from DB

2003-02-17 Thread Miguel Brás
Using MySQL Any change for a code sample? Thx Miguel "Greg Donald" <[EMAIL PROTECTED]> escreveu na mensagem [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Mon, 17 Feb 2003, Miguel Brás wrote: > > > >I have a table with users and passwords with over th

[PHP] What is wrong with this?

2003-02-24 Thread Miguel Brás
your SQL syntax near '= 'Airbus' ' at line 1 Erro no pedido: . You have an error in your SQL syntax near '= 'CONC' ' at line 1 Miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] What is wrong with this?

2003-02-24 Thread Miguel Brás
he data from DB. He displays all records on DB available at aviao field, but he is not making the correct mysql query... Anyone knows why? - Original Message - From: "Ernest E Vogelsinger" <[EMAIL PROTECTED]> To: "Miguel Brás" <[EMAIL PROTECTED]> Cc: <[EMA

[PHP] Page per page

2003-02-24 Thread Miguel Brás
Hi guys, Anyone has a good example to build a system that show X records per page and give links to next and previous pages? Thx Miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Newbie Security Questions...

2003-02-25 Thread Miguel Angelo
Any help will be great Stay well ! Miguel Angelo e-mail: [EMAIL PROTECTED] http://migas.mine.nu -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Apache 2.x and PHP

2003-07-22 Thread Miguel Angelo
Hi All, Can anyone aswer this simple question, that i still have not found it anywhere... Is PHP capable of running on Apache 2.x and if so what version ? And is it stable ? Thankxs for any reply Miguel Angelo -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] APACHE/PHP - buttons don't work

2003-08-08 Thread Miguel Ribeiro
... but I can't see other option beside this one. Thanks Regards, Miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] buttons don't work

2003-08-14 Thread Miguel Ribeiro
I can't see other option beside this one. Thanks Regards, Miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Select DataBase Mysql Problem

2003-03-23 Thread Miguel Angelo
ue) { print "\t\t$col_value\n"; } print "\t\n"; } print "\n"; /* Free resultset */ mysql_free_result($result); /* Closing connection */ mysql_close($link); ?> Stay Happy Miguel Angelo --- End of Forwarded Message --- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Select DataBase Mysql Problem

2003-03-23 Thread Miguel Angelo
Thankx a million Tom, I used .mysql_error() and i found it right away. Actualy i have a config.php file with the mysql user information and i was forgeting to do a include("config.php"); before i used mysql. Really stupid error. Thankx again. Miguel Angelo > Hi, > > Sunday

[PHP] detect proxy

2003-05-29 Thread Miguel Angelo
avaliable informations you could do something like this if ( $GLOBALS[HTTP_VIA] == "" ) { echo "User Proxy is Not Available "; } else { echo "User Proxy: $GLOBALS[HTTP_VIA] "; } Hope this help you ! Stay happy Miguel Angelo From: sonjaya <[EMAIL PROTECTED]> To:

[PHP] Scandir Question

2003-06-02 Thread Miguel Angelo
there any way to do this ?, or must i use the fisical directory ??? THankx for reading Stay happy Miguel Angelo -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] interact with .htaccess

2003-06-16 Thread Miguel Angelo
still link this files into a html page, this would for example allow showing a album of photos to some users but not all site users. By the way i'm building a new personal web page and will share the code in a open source i think it would be good for newbies like me Thankx any way M

[PHP] Building a save photo album

2003-06-17 Thread Miguel Angelo
page... similar to How can i do this ? or is there any other thing that i can do under php to prevent this ? Thankx people Miguel Angelo -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Building a save photo album

2003-06-17 Thread Miguel Angelo
... similar to How can i do this ? or is there any other thing that i can do under php to prevent this ? Thankx people Miguel Angelo -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Security Advisory: Vulnerability in PHP versions 4.2.0and 4.2.1

2002-07-22 Thread Miguel Cruz
> How would you like to be a sys admin with dozens of machines to upgrade > before you can proceed with anythign else? I upgraded dozens of machines. It took about 10 minutes total. miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Pine config

2002-07-22 Thread Miguel Cruz
this many times but cannot for the life of me > figure out why it is happening. It's doing this as a favor to you. If it displayed the "From" you'd know less about the message than you know this way. miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Passing Special Characters In url

2002-07-22 Thread Miguel Cruz
On Tue, 23 Jul 2002, Ricky wrote: > I am having problems passing variables in a url specifically when there is > an & sign. Any suggestions? There is a special function just for you. http://php.net/urlencode miguel -- PHP General Mailing List (http://www.php.net/) To unsubscr

Re: [PHP] Comma question

2002-07-22 Thread Miguel Cruz
there") and then this is processed by echo which prints it out. The effects are the same, as I said, but it's important to realize why they're very different ways of getting that effect. miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Doing an HTML POST using header()

2002-07-22 Thread Miguel Cruz
the header() whats the syntax? I just cant > find it anywhere. You can't. If you want to do a post, either construct the request yourself, use one of the many free classes created to do so, or use the cURL library. miguel -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Re: HTML E-mails

2002-07-22 Thread Miguel Cruz
specific responsibility to stop people from doing stupid things, even if they do happen to really want them. There is no honor - and in the long term, no future - in casting aside my better judgment because I once read that "the customer is always right." miguel -- PHP General Mailing

Re: [PHP] Inline Images ?

2002-07-22 Thread Miguel Cruz
send the raw image data... > > I've thinking that I need to save an image first to disk and then > display the image later... That's not necessary. Hi there. Here is an image: "; ?> miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] redirecting after login

2002-07-22 Thread Miguel Cruz
sing tag redirects, > but those don't seem to accept the PHP/MySQL combo. Once they've been redirected, can they just bookmark the resulting page and never have to log in again? miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Script executing Telnet Shell Command...

2002-07-22 Thread Miguel Cruz
gram and try > connecting to a port via fsockopen... By the way > does anyone know what port number telnet connects to... Telnet is port 23, and the protocol is more complicated than you might think. Perhaps you could look into using 'expect' (a unix utility) to control your telnet

Re: [PHP] Re: HTML E-mails

2002-07-22 Thread Miguel Cruz
On Tue, 23 Jul 2002, Manuel Lemos wrote: > On 07/23/2002 02:40 AM, Miguel Cruz wrote: >> On Sun, 21 Jul 2002, Richard Lynch wrote: >>> Actually, though, when my clients insist on HTML email, I just >>> tell them: "No. If you want that feature, you'll ha

Re: [PHP] number of files in a dir vs. performace

2002-07-22 Thread Miguel Cruz
shing mechanism. For instance, if your filenames are numbers, create subdirectories 0/ 1/ 2/ 3/ 4/ etc., and place the files based on their final digit. miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] The page before for newman.

2002-07-25 Thread Miguel Cruz
On Thu, 25 Jul 2002, Philip J. Newman wrote: > I'm looking for the global veriable that lists the page before the page > that i just came from. Anyone know what i'm talking about? $_SERVER['HTTP_REFERER'] miguel -- PHP General Mailing List (http://www.php.net/) T

Re: [PHP] best way to log bad email address'

2002-07-25 Thread Miguel Cruz
t goes on between there and delivery, and mail() doesn't wait around. You'll need to catch bounces as they come in. To make life easier, assign your own unique Message-IDs and remember them, so you can easily invalidate addresses. miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: How do I validate input using php?

2002-07-25 Thread Miguel Cruz
} Please search the archives on this topic; it's been covered exhaustively, and each time it comes up we get 25 bad functions and eventually one good one. The above function will bark at valid domains (.museum, etc.) and will allow patently invalid domains (anything containing _).

Re: [PHP] Re: PHP Security Advisory: Vulnerability in PHP versions4.2.0

2002-07-25 Thread Miguel Cruz
nfig.nice make install for i in server1 server2 server3 server4 server5 serverN scp ../apache_1.3.26/src/httpd ${i}:/usr/local/apache/bin/ Most of the time was watching 'make install'. miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Security Advisory: Vulnerability in PHP versions4.2.0and 4.2.1

2002-07-25 Thread Miguel Cruz
e as you could hope for (definitely not your typical tech support script readers), but the product is so hopelessly complex that it's still easy to stump them. miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Accessing upper directory of public_html directory

2002-07-25 Thread Miguel Cruz
;t have > an understanding of what you need. It's possible they put each of their customer in a chroot jail, in which case - barring gross mistakes on the part of the customer - keeping the password in a .php file in the docroot is quite secure. miguel -- PHP General Mailing List (http:

Re: [PHP] control structure question

2002-07-25 Thread Miguel Cruz
aluated if the switch reached the > default, which means that none of the above check returned false > > I think for this example the switch syntax is more elegant than using a > series of if() statements. That's pretty clever! miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: can there be a fax gateway?

2002-07-25 Thread Miguel Cruz
y as good Also, there's a free volunteer network of fax servers you can read about at: http://www.tpc.int/ Coverage is not universal, and you might get ads on the cover sheet, but I've used it plenty of times over the years (this has been around for a decade or so) and it's ser

RE: [PHP] pdf to html

2002-07-25 Thread Miguel Cruz
as any ideas on > how to convert from pdf to html. It's exceptionally difficult if you want to preserve the graphics. miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] preg_match() occurence position

2002-07-25 Thread Miguel Cruz
position of the occurence! Once you have found the matching string with preg_match, you can use strpos() to see where it was. miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Reg exp to remove line feeds before lines starting withwhite space

2002-07-25 Thread Miguel Cruz
> > But may very well look like this: > > X-Header-A: A string > X-Header-B: Another string that is > longer > X-Header-C: And this string is very very long > compared I imagine you want something like (untested): $str = preg_replace('/\n[ \t]+/s',

[PHP] failure notice (fwd)

2002-07-27 Thread Miguel Cruz
Is this for real? Rackspace hosts an awful lot of good-hearted people (including myself). Is there a specific reason why the entire ISP's customer base has been blocked from posting to php-general? I guess I have to give up participating on the PHP list... miguel -- Forwarded me

[PHP] PHP problem

2002-10-09 Thread Miguel Brás
; form, in order to see the info displayed on the info.php page?? Thx Miguel

[PHP] What is this??

2002-10-27 Thread Miguel Brás
Any hint from someone?? Cheers Miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] What is this??

2002-10-27 Thread Miguel Brás
Ok I found the problem. I also had a column on my table and I was not using it, so I deleted her. I had also one more field on my form and forgot to add him to the query. Thx for the hint Best Miguel "Leif K-Brooks" <[EMAIL PROTECTED]> escreveu na mensagem news:3DBCA42

[PHP] Drop down list with date

2002-11-12 Thread Miguel Brás
owing option to be choosen 12/11/02 13/11/02 14/11/02 15/11/02 16/11/02 17/11/02 18/11/02 Tomorrow 13th will display 13/11/02 14/11/02 15/11/02 16/11/02 17/11/02 18/11/02 19/11/02 and so on... Thx Regards Miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Only one value from a msSQL field.

2002-06-05 Thread Miguel Cruz
t; lists everything .. I'm not sure I understand your question (samples are always nice), but I'd suggest looking into "GROUP BY" or "SELECT DISTINCT". miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] open a new html page

2002-06-05 Thread Miguel Cruz
On Wed, 5 Jun 2002, Renaldo De Silva wrote: > is there a simple way to automatically load a new page according to a > choice made by a user. > > If one persons logs in they go to one page, If another peson logs in they go > to another page? -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] global variables without sessions on apache

2002-06-05 Thread Miguel Cruz
variables shared between all your pages, you're going to have to either use a database or shared memory as documented at: http://www.php.net/manual/en/ref.sem.php miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Stopping multiple votes by IP

2002-06-05 Thread Miguel Cruz
your users) and run with it. My feeling would be that a cookie + email token is enough for anything but high-security or money-based operations; after those measures the amount of hassle rises steeply. miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] currency rounding issues

2002-06-05 Thread Miguel Cruz
assist? It would help if you'd provide an example including the numbers you're adding, the result you get, and the desired result. Nevertheless, check out: ceil() floor() number_format() I'm sure you'll find something good in there. miguel -- PHP General Maili

Re: [PHP] Need some suggestions about "community" :)

2002-06-05 Thread Miguel Cruz
e of users, a table of messages, a table of groups, a table of whatever else... miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Remote file information (PHP 4.0)

2002-06-05 Thread Miguel Cruz
hing they want in response to any request and there's no need for them to even have a CONCEPT of file vs. directory, let alone tell you about it. miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Modifying the sort order of a query

2002-06-05 Thread Miguel Cruz
Try a sub-select: SELECT * FROM (SELECT * FROM rap ORDER BY rcountry,rcity,rsname,rfname DESC LIMIT 30 OFFSET 30) ORDER BY whatever; miguel On Wed, 5 Jun 2002, Andre Dubuc wrote: > Apache 1.3.23 + PHP 4.1.2 + PostgreSQL 7.2 > > I have a query that sorts by name, country, and city, t

Re: [PHP] Passing Values to an image script

2002-06-05 Thread Miguel Cruz
l just look like a string of random letters and numbers) Posting isn't that useful unless the image is going to show up on its own in the web browser window. Sessions are okay, but once people start using the back button you are going to have some weird side effects. miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Displaying images with php?

2002-06-05 Thread Miguel Cruz
s are for building new images or for modifying existing images. If you already have them ready to go sitting in a directory, there's no point messing with anything more complicated than miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php and javascript question

2002-06-05 Thread Miguel Cruz
ith the same page. You're quite right; the PHP executes and terminates before the JavaScript ever starts. If you want to get JavaScript-calculated values back into PHP, you have to pass them back through new requests to the server. miguel -- PHP General Mailing List (http://www.

Re: [PHP] Re: sorting a list using regex

2002-06-05 Thread Miguel Cruz
I completely don't understand what you're trying to say, but I have a sneaking suspicion the usort() functions might be helpful here. miguel On Wed, 5 Jun 2002, Joshua E Minnie wrote: > I am trying to sort a list by their first character, my problem comes when > that firs

Re: [PHP] Re: Finding out how a variable was registered

2002-06-05 Thread Miguel Cruz
of any headers. And when all else fails, there's telnet www.example.com 80. miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Modifying the sort order of a query

2002-06-05 Thread Miguel Cruz
My understanding was that he wanted to see the same 30 rows, but sorted in a different way. For instance, he wanted to see entries 30-60 as sorted by age, but to have those sorted by height when displayed. miguel On Thu, 6 Jun 2002, Bogdan Stancescu wrote: > That's at least

Re: [PHP] run from telnet...like PERL?

2002-06-05 Thread Miguel Cruz
L and ran it from telnet and it went just fine. Can PHP be run in this > fashion? Build or download the standalone binary, and then it works just like Perl (except that you'll want to add -q to the bangpath invocation). miguel -- PHP General Mailing List (http://www.php.net/) To unsu

Re: [PHP] simple email validation ereg

2002-06-05 Thread Miguel Cruz
ill not? Do you have an example? How is a mail server supposed to > know where the mail should be delivered if there's no MX? By looking up the A record. miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Search Engine Friend Dynamic Pages

2002-06-05 Thread Miguel Cruz
nd force apache to interpret > them as mime type php. Look at the headers you're sending out. If there's no 404, then the search engine has no possible way of knowing how you handled it on the back end. miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] date problem

2002-06-05 Thread Miguel Cruz
seless in a database. At this point I'd recommend running a quick script to strtotime() all your dates and then re-write them to a new field that's in a proper format. miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] phpSearch

2002-06-05 Thread Miguel Cruz
here ne1 who can develop it for me pls... i tried few > applications like phpdig, Site Search, phpMySearch but unfortunately now of > them got what I need... neways can u help me out. pls We do all that with mnogosearch (http://www.mnogosearch.ru/). miguel -- PHP General Mailing List (h

RE: [PHP] Secure File Upload

2002-06-06 Thread Miguel Cruz
ble to get the firewall code to drop a connection after a certain amount of traffic in one direction. That would effectively and unceremoniously cut off the rogue uploads. Beyond the scope of this mailing list, though. miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Retrieving text from a URL using PHP

2002-06-06 Thread Miguel Cruz
echo strip_tags($contents); miguel On Thu, 6 Jun 2002, Anthony Ritter wrote: > I'm still trying to figure out how to implement the strip_tags() function on > the script below so that the output of the URL is straight text. > > Please advise if you get

Re: [PHP] Combo box selected value...

2002-06-06 Thread Miguel Cruz
On Fri, 4 Jan 1980, Alexandra Aguiar wrote: > I got the followin code to generate a combo box... Your clock is off by about 20 years. Is it possible to fix it before posting to the list? Thanks. miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: h

Re: [PHP] Re: Anyone?

2002-06-06 Thread Miguel Cruz
, at least sometimes (when they have enough time, or are waiting for a big compile to finish, or feel guilty about cutting someone off on the freeway this morning and want to earn karma back, or whatever). But it seemed like you were sort of curious as to why you didn't get any response, so there

Re: [PHP] NEED HELP (passing variable to new page)

2002-06-07 Thread Miguel Cruz
#x27;m stumped. miguel On Thu, 6 Jun 2002, Igor Portnoy wrote: > I am having hard time passing the variable to the next page. May be you > can help me. Let me explain: > > > > I am using mySQL database to store information about images (ID, name, > author, description, etc).

RE: [PHP] Trying to list a directory content HELP PLEASE

2002-06-07 Thread Miguel Cruz
it has all enabled, read, write and executable. > I have tried with the final slash, and without it, and so far it keeps > giving me that message... any ideas? Does the directory "paginas " really have a blank space at the end of the name? miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Tracking Problem -- Force full script execution?

2002-06-07 Thread Miguel Cruz
leader in web traffic volume. That must be some pretty amazing porn. miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: Re[2]: [PHP] Re: strip_tags bug ?

2002-06-07 Thread Miguel Cruz
. miguel On Fri, 7 Jun 2002, Mikhail Avrekh wrote: > Actually, we allow our users to use HTML tags -- a pretty large set of > tags is allowed in the second argument to strip_tags(). We just want to > strip out and other stuff which has been known to cause problems. > > This is why

Re: [PHP] Re: Search a flat file.

2002-06-07 Thread Miguel Cruz
to fopen() it and loop over fgets() so you don't have to read in any more than necessary. miguel On Fri, 7 Jun 2002, Tom Ray wrote: > ok I believe I follow you on that, I will give that a try. But the > question I have now is how do I loop that request? > > Gaylen Fraley wro

Re: [PHP] restricting files

2002-06-08 Thread Miguel Cruz
et it working (I should hope). We use it for many, many sites and I can't think of any problems it's caused. miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Removing ^M

2002-06-08 Thread Miguel Cruz
ch characters? $str = str_replace("\r", '', $str); miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] What are pros and cons of the Apache module verses cgiversion?

2002-06-08 Thread Miguel Cruz
to run in different uid contexts, so that users on a shared/multiuser system can be prevented from seeing and messing with each other's files. There are scads of differences, but these seem to be the most salient for most people. miguel -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] Removing ^M

2002-06-08 Thread Miguel Cruz
'chomp' removes the end-of-line character(s) from its input, which is different from doing an EOL conversion (which is what the OP was after). The result of the below perl would be to concatenate all lines together as one. miguel On Sat, 8 Jun 2002, Chris Knipe wrote: > Perl ap

Re: [PHP] Removing ^M

2002-06-08 Thread Miguel Cruz
I don't think tr expects to receive a filename on the command line. Try: tr -d "\r" < oldfile.html > newfile.html miguel On Sat, 8 Jun 2002, Steve Buehler wrote: > I get this when running that command: > tr: only one string may be given when deleting without

Re: [PHP] how to test if rewrite rule is working

2002-06-08 Thread Miguel Cruz
ged. Am I doing something wrong? This isn't a PHP question. If you don't have the rule do a redirect [R] then you won't see a change in the address bar. The obvious way to test it in any case is to supply a URL like index-1,2.html or whatever and see if you get to the right plac

  1   2   3   4   5   6   7   8   9   10   >