[PHP] Update site through email

2006-06-29 Thread Rodrigo de Oliveira Costa
Hy guys I'd like to know if there is a way to update a site through sending an email. Something like this, you send an email and the body of the email substitutes a text you use in your site. Igreat apreciate any help since I couldn't find anything on this topic. Thanks, doRodrigo -- PHP General

[PHP] Paging Help

2006-06-20 Thread Rodrigo de Oliveira Costa
I have the following problem, I need to make a paging system to show results from search on a Mysql database. I found a class that should do the job but couldn't figure it out how to use it. Does anybody has an Idea of hos to do this? I thank in advance for any help you guys can provide me. R

[PHP] Cant work HTML echo loop

2006-06-07 Thread Rodrigo de Oliveira Costa
i guys Im here again, now I got this problem with a loop. The script is at the end of the message so you guys can review it. Now to the problem: I have a script that go to a site and try to access an url like www.domain.com/story/variable/ it should do the following: Try to open the page if it do

[PHP] Cant work HTML echo loop

2006-06-07 Thread Rodrigo de Oliveira Costa
Hi guys Im here again, now I got this problem with a loop. The script is at the end of the message so you guys can review it. Now to the problem: I have a script that go to a site and try to access an url like www.domain.com/story/variable/ it should do the following: Try to open the page if it d

[PHP] HTTP ERRORS Boolean

2006-06-06 Thread Rodrigo de Oliveira Costa
Guys is there a way that I can call the func file("www.url.com") and get a result true if there is a page and false if the page doesnt exists (error 404)? the thing is I'm trying to retrieve a page but I cant be sure that it exists so I need my script to try to access it and if it cant access it t

[PHP] Problem with form

2006-06-06 Thread Rodrigo de Oliveira Costa
Guys I'm getting the following problem: I have a form that asks for one variable that goes into the input box, this box is named chapter, and the box is in a form that is submited to another php, and this php should receive this variable and I should be abble to access it thru $chapter, but when

[PHP] String Manipulation

2006-06-05 Thread Rodrigo de Oliveira Costa
Hi guys I have the following intention and would really like to know if tis possible and if its possible how should it be done. I have a string that is something like this: "1. Prologue2. First days3. Drastic choice4. Sowarocs5. Training6. Teneb" How can I retrieve the Values and assign it to

[PHP] Re: Retrieving Content

2006-06-02 Thread Rodrigo de Oliveira Costa
I just discovered the problem I have to retrieve the output of the site and not the url since its dynamic. Ca I do it like retrieve the output of this url: www.tryout.com/1/2/ And of course store it on a variable? How to do it? I founr the func below but couldnt understand how to make it work wi

[PHP] Retrieve output from HTML or PHP file

2006-06-02 Thread Rodrigo de Oliveira Costa
Can I do the below to an URL, like retrieving the output of a site and store it on a variable? Thanks, Rodrigo Hi Peter, Ah, I understand now. If the file echo'ed it's output you could do: ob_start(); include('file.php'); $output = ob_get_contents(); ob_end_clean(); or: $output = exec('sc

[PHP] Re: Retrieving Content

2006-06-02 Thread Rodrigo de Oliveira Costa
Actualy I went a slightly diffent way, I tried to use the file() like on the script below and I get the content of the whole page but when I try to get a single line from the array it all goes sideways. Here goes the script with the correct urls, remembering that I'm using it on the local server

[PHP] Retrieving Content

2006-06-02 Thread Rodrigo de Oliveira Costa
Hi guys, I'm trying to retrieve a certain variable from a site. Here it goes: The site has a SELECT box that is dynamicaly updated, I need to put a script running that will retrieve the specified SELECT with its contents, that are labels and values. Is there a way to retrieve the page and then se

[PHP] String to an Array

2002-12-06 Thread Rodrigo de Oliveira Costa
Hi guys, I got a string that I need to be transformed into na array of characters, something like: $str ="im the one trying to do this"; //this is the string I'd like to get an array that I can access something like $array[0] and get the value " i ". And this foward. Anyone have any cl

RES: [PHP] Passing Variables from one php doc to another

2002-11-21 Thread Rodrigo de Oliveira Costa
I tried to use this way but it doesnt work I think its because it is a variable that I have to pass, something like: http://www.example.com/doo.php?dah=something&dee=$somethingelse HELP Rodrigo -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/

[PHP] Passing Variables from one php doc to another

2002-11-20 Thread Rodrigo de Oliveira Costa
Hi people, I’m in a lot of trouble, I’m doing a paging for a mySql database result it was going well until I tried it out. It shows the right amount of registries and it shows the next page link, but when I click on the next page it says it is missing a variable, it is the one that is sent by the f

[PHP] Add content thru e-mail

2002-11-03 Thread Rodrigo de Oliveira Costa
Hi people, i'd like to know if there is a way to add content to a database thru sending an e-mail, and if there is how it would be done. Thanks, Rodrigo

[PHP] Phpmyadmin HELP!!!

2002-11-03 Thread Rodrigo de Oliveira Costa
Hi people, After I installed phpmyadmin on my computer that runs an Apache I've worked almost everything out. The only problem I seem to have is that when I create a Database I can't put more than 8 columns and if I do it simply doesnt accept it. Another problem that it looks like I'm having i