[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] Re: $PATH_INFO not working

2004-04-23 Thread Noel da Costa
we just re-compiled PHP on the test server... and now my script won't run on the test server too!! Noel "Torsten Roehr" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > "Noel Da Costa" <[EMAIL PROTECTED]> > > Hi Noel, > > try acce

[PHP] $PATH_INFO not working

2004-04-23 Thread Noel da Costa
Hi, Anyone know what might stop the $PATH_INFO variable from working? I developed a nav system using this which works on the test server, but not on the live server. I'm guessing this is something to do with the way PHP (4.2.2) and Apache (2.0) were compiled on the live server (I've posted that

[PHP] PHP 5 Free Hosting

2004-03-20 Thread David Costa
further information. Best Regards David Costa -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP Certification: We need your comments

2004-02-25 Thread David Costa
. Let us know what you think in the public poll& discussion at http://www.dotgeek.org/forums/viewtopic.php?t=3 If you do have a solution C let us know. Your comments are very much appreciated. Regards David Costa -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] INFORMIX (PLEASE)

2003-08-18 Thread Davi José Faria Costa
what to make this to function... Somebody please, help me. My environment is the following one: - COMPUTER K6-2 500 - HD 10GB, MEM RAM 64 MB - WINDOWS 2000 ADVANCED SERVER - INFORMIX NT 7.31 Thanks! Davi Costa

[PHP] Problems reading e-mail body when having attachements .....

2003-01-17 Thread Samuel Costa
en i use to show the the contents with the following code if(is_array($sections)) { echo sizeof($sections); for($x=0; $xparts) > 1) { $sections = parse($structure); $attachments = get_attachments($sections); } if i only have text it works fine, but if i have attachements it only shows the att

[PHP] PHP 4.3 unable to load php_domxml.dll in WinXP Apache 2.0.43

2002-12-29 Thread Rui Costa
hi, Windows XP, Apache 2.0.43(Win32) with PHP 4.3 can't load DLL 'php_domxml.dll'. it pops-up: Unknown(): unable to load dll'C:\php\extensions\php_domxml.dll' if I use the old 'php_domxml.dll' from PHP 4.2.4, it works fine. I'm using libxml2-2.4.30, expat 1.95.4. by the way, 'libxml2.dll' is not

[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

Re: [PHP] Problem with sessions.

2002-03-17 Thread Carlos Costa Portela
On Mon, 18 Mar 2002, Tom Rogers wrote: > Hi > As you had not started a session at that point there was none to destroy or > unregister :) Ok!!!. Thank you very much, Carlos. http://www.tertulandia.com : sea cual sea tu tema... allí está tu sitio! ___Car

Re: [PHP] Problem with sessions.

2002-03-17 Thread Carlos Costa Portela
Carlos. ___Carlos Costa Portela_ | e-mail: [EMAIL PROTECTED] | home page: http://casa.ccp.servidores.net | |_Tódalas persoas maiores foron nenos antes, pero poucas se lembran__| -- PHP General Mailing List (http://www.php.net/) To u

Re: [PHP] Problem with sessions.

2002-03-17 Thread Carlos Costa Portela
a different name (now I only start a new session implicitly via session_register()). Perhaps I am confused with the 'session' term. I thought that if I do session_destroy() the session forget all the info, but if I check session_id() before and after session_destroy() I see

[PHP] Problem with sessions.

2002-03-16 Thread Carlos Costa Portela
and thanks in advance, Carlos. [ all about php+web : http://www.improveyourweb.com ] ___Carlos Costa Portela_ | e-mail: [EMAIL PROTECTED] | home page: http://casa.ccp.servidores.net | |_Tódalas persoas maiores fo

[PHP] problems creating php extension

2002-03-12 Thread Cristóvão B. B. Dalla Costa
Hi I'm currently working on a proprietary application server being used within my company. It uses a proprietary protocol over TCP/IP to interface to remote clients and we currently use an extension I made for PHP 4.0.6. The problems came when we upgraded to PHP 4.1.x. We could compile our modul

[PHP] Trouble with php generated images

2001-10-29 Thread costa
The text printed on this image looks sloppy and grainy. (This image is being generated on a linux server RH 7.1, Apache 1.3.19, with GD 1.8) I remember seeing something about adjusting the quality of the image, but I can't find it now, and even if I did, I don't know how much help it would be, be

[PHP] php extensions

2001-09-19 Thread Cristóvão Dalla Costa
urces from the ports tree. Thanks. Cristovao Dalla Costa -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] setcookie don't work well...

2001-02-26 Thread Nuno Costa
I try to use this function to prevent that the same visitor vote for more than one time in a hour but it don't work, the code is this: if($vote!=1) { $time=time(); $time=$time + 36000; setcookie("vote","1",$time); } If the visitor vote, the vote counts, than if he try to vote again the vote don'

Re: [PHP] function problem ...

2001-02-07 Thread Frederico Augusto Costa
Try require_once($your_file) or verify in $your_file use the function function_exists() []'s Frederico Augusto Costa [EMAIL PROTECTED] On Wed, 7 Feb 2001, Miguel Loureiro wrote: > Hello > I have a script that use other script file(ph

Re: [PHP] random no. between two numbers?

2001-01-17 Thread Frederico Augusto Costa
Have you tried rand(1,100) ? Frederico Augusto Costa [EMAIL PROTECTED] On Tue, 16 Jan 2001, Erick Papadakis wrote: > hi, > > in php, how can i generate a random no. but between > two numbers? for example, i need to generate a