Re: [PHP] Help please.

2004-04-29 Thread Elliot J. Balanza
permissions (just like you have to in Unix). Jason -Original Message- From: Elliot J. Balanza [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 28, 2004 8:03 PM To: [EMAIL PROTECTED] Subject: [PHP] Help please. Hi, I'm running the same class in two different sites on the same sever

[PHP] Re: Single quotes inside double quoted string (Was: Re: [PHP] Re: Problem with a class... any help will be appreciated.)

2004-04-29 Thread Elliot J. Balanza
Yes actually the same proccess in the first script works. If i remove the $this-login(); instruction and write the instruction within the if works also... the only thing not working is the $this-login(). Torsten Roehr [EMAIL PROTECTED] escribió en el mensaje news:[EMAIL PROTECTED] Elliot J

[PHP] how to validate a domain

2004-04-13 Thread Elliot J. Balanza
I used to use a socket to whois database to validate if a domain name is available or not. Now i can't do that cause whois requires different parameters does anyone knows how i can validate if a domain name is available or not true .php? Vamp -- PHP General Mailing List (http://www.php.net/)

[PHP] web statistics

2004-03-30 Thread Elliot J. Balanza
Does any one knows of a good gnu php web statistics software? Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] session languages array.

2004-03-29 Thread Elliot J. Balanza
I have a very strange problem, and i don't seem to figure out what is wrong. I start a session, and register $_Session['Idiomas']; then i go to another page and select require(/lanugages/.$_Session['Idiomas']./main.php) to require the text array to display text. Now here comes the weird

[PHP] Re: data by halves

2004-03-29 Thread Elliot J. Balanza
1. Is the length of the field to receive the data long enough? perhaps the field itself is short? 2. do you have like a time limit? some servers just stop performing after 30 seconds or 90 seconds, (specially IIS) but it will warn you that the proccess was too long. Vamp German [EMAIL PROTECTED]

[PHP] Re: session languages array.

2004-03-29 Thread Elliot J. Balanza
Do I need to unset() the variable each time i use it? I don't see anyone using it like that. vamp Elliot J. Balanza [EMAIL PROTECTED] escribió en el mensaje news:[EMAIL PROTECTED] I have a very strange problem, and i don't seem to figure out what is wrong. I start a session, and register

[PHP] Re: session languages array.

2004-03-29 Thread Elliot J. Balanza
code. This no longer work... its the same thing but the second one wond work... any insight? Vamp Rafael Cotta [EMAIL PROTECTED] escribió en el mensaje news:[EMAIL PROTECTED] Elliot J. Balanza [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I have a very strange problem, and i

[PHP] Re: session languages array.

2004-03-29 Thread Elliot J. Balanza
Go to figure, what i was lackng of was the parenthesis on the second include... thanks to everyone that tried to help. vamp Elliot J. Balanza [EMAIL PROTECTED] escribió en el mensaje news:[EMAIL PROTECTED] I have a very strange problem, and i don't seem to figure out what is wrong. I start

[PHP] Re: Attach Image to email

2004-03-24 Thread Elliot J. Balanza
Send it in HTML form, and use an img meta tag... now if you want to do is an attachement that is a different story. Vamp Mike Mapsnac [EMAIL PROTECTED] escribió en el mensaje news:[EMAIL PROTECTED] Hello I know how to use mail function in php to send an email with text. But I want to add new

[PHP] Session_destroy() questions

2004-03-22 Thread Elliot J. Balanza
Ok, I know that session_destroy wont delete all my session data, but just delete the variables with it... but for instance the session_id() will be the same. So my question is how can i make it so that let's say one people enter my site, and then decides to leave... but doesn't closes the browser

Re: [PHP] receiving ndr for each email sent to list

2004-03-22 Thread Elliot J. Balanza
Actually there is another funny part to it. The reazon you are getting this is because some of the people on the list, bounces mail... that is fact, hence you can get all kind of notifications that the mail wasn't deliverable... and it was true. But I thought anyone would know that... once again,

[PHP] Backup of a MySQL database.

2004-03-22 Thread Elliot J. Balanza
Can anyone post a link to a good reference material on how to do this... evidentely mysqldump is not working here... and i need to do this via php programming. thanks vamp -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] What is the best way to backup a MySQL Database

2004-03-22 Thread Elliot J. Balanza
Hi I've been trying to use MySQL dump with a php query (since we dont have like a mysql_dump function) but it's not working. Can anyone please point me to a page so i can read a method to backup MySQL databases to an .sql file using php? thanks. Vamp -- PHP General Mailing List

Re: [PHP] Backup of a MySQL database.

2004-03-22 Thread Elliot J. Balanza
PROTECTED] On Mar 22, 2004, at 11:34 PM, Elliot J. Balanza wrote: Can anyone post a link to a good reference material on how to do this... evidentely mysqldump is not working here... and i need to do this via php programming. I'm sure you will find prewritten scripts with Google and I

Re: [PHP] RE:[PHP] sessions...how to use not clear?

2004-03-22 Thread Elliot J. Balanza
What are the chances of two people getting the same session number in a thousends of day operation? When you down the size of that to a couple hundeed a day... WHy do we need to have a session name for that? Vamp Chris W. Parker [EMAIL PROTECTED] escribió en el mensaje news:[EMAIL PROTECTED]

Re: [PHP] Re: SMTP Authentication

2004-03-13 Thread Elliot J. Balanza
I still wonder, how your smtp server requires authentification even when using the function internally. For my education please... does that means that you are using a third party SMTP, meaning some SMTP outside your server? vamp Beauford [EMAIL PROTECTED] escribió en el mensaje news:[EMAIL

[PHP] Classes Objects.

2004-03-13 Thread Elliot J. Balanza
Anybody knows a good on line tutorial for objects classes on PHP. Thanks. Vamp -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Help with arrays

2004-03-12 Thread Elliot J. Balanza
; echo $MTMBT['Titulo']; snip - snip [EMAIL PROTECTED] escribió en el mensaje news:[EMAIL PROTECTED] Hello Elliot, On 11 Mar 2004 at 23:55, Elliot J. Balanza wrote: I need to make a query to a MySQL database that only has two fields, name value. That I can do. Then I need to store

[PHP] Re: Help with arrays

2004-03-12 Thread Elliot J. Balanza
Thank you Michael... That did the trick :D thank you very very much, it took me three days... and now it seems so damn easy. vamp Michael Nolan [EMAIL PROTECTED] escribió en el mensaje news:[EMAIL PROTECTED] Elliot J. Balanza wrote: I need to make a query to a MySQL database that only has two

[PHP] New Problem with Arrays won't show the first record of a query.

2004-03-12 Thread Elliot J. Balanza
Ok thanks to Michael Nolan I was able to do what I needed. The final code is this: snip-snip mysql_select_db($database_MBTTIENDA, $MBTTIENDA); $query_prefs = SELECT * FROM mtmbt_prefs ORDER BY Pref_name ASC; $prefs = mysql_query($query_prefs, $MBTTIENDA) or die(mysql_error()); $row_prefs =

Re: [PHP] New Problem with Arrays won't show the first record of a query.

2004-03-12 Thread Elliot J. Balanza
Thanks guys... it works dandy now. Vamp [EMAIL PROTECTED] escribió en el mensaje news:[EMAIL PROTECTED] On 12 Mar 2004 Elliot J. Balanza wrote: . $row_prefs = mysql_fetch_assoc($prefs); . while ($row_prefs = mysql_fetch_assoc($prefs)) { . and it works fine EXCEPT

[PHP] Re: SMTP Authentication

2004-03-12 Thread Elliot J. Balanza
The thing is... if you are sending the mail from within your server why do you need to authentificate you are yourself? Vamp. Beauford [EMAIL PROTECTED] escribió en el mensaje news:[EMAIL PROTECTED] Hi, How would I set up PHP to use SMTP authentication when I send an email. For example, in

[PHP] Help with arrays

2004-03-11 Thread Elliot J. Balanza
I need to make a query to a MySQL database that only has two fields, name value. That I can do. Then I need to store the values i receive in an array in the form of: $variable['name'] = value; But haven't been able to do it neither with a foreach nor with a do while... Can anyone please assist

Re: [PHP] Help with arrays

2004-03-11 Thread Elliot J. Balanza
Yes ok but how do I store it? with array() how? vamp Raditha Dissanayake [EMAIL PROTECTED] escribió en el mensaje news:[EMAIL PROTECTED] Elliot J. Balanza wrote: Then I need to store the values i receive in an array in the form of: $variable['name'] = value; $value