hi all,
Im trying to get the following php code to output the
'success'/'failure' page from posting a form to a site. The problem is
that there is no output at all, so i must be doing somthing silly, but
cant work out what! ;-)
## Code
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "http://exa
--- John Holmes <[EMAIL PROTECTED]> wrote:
> Mag wrote:
>
> > Hi,
> > I will be getting input from a textarea and then I
> am
> > using "explode" to break the text into an array
> when
> > it encounters a space.
> >
> > eg:
> > one two three four ninty
> > would be broken into 5 parts of an arr
* and then Nick Wilson declared
> hi all,
>
> Im trying to get the following php code to output the
> 'success'/'failure' page from posting a form to a site. The problem is
H... it helps if you are submitting to the 'action' url of
course sigh
--
Nick W
--
PHP General Mailin
On Sat, 11 Sep 2004 03:11:08 -0700 (PDT), Mag <[EMAIL PROTECTED]> wrote:
>
> --- John Holmes <[EMAIL PROTECTED]> wrote:
>
> > Mag wrote:
> >
> > > Hi,
> > > I will be getting input from a textarea and then I
> > am
> > > using "explode" to break the text into an array
> > when
> > > it encounters
>"John Gostick" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>Hi,
>
>I've encountered a situation where I need to have two or more SEPARATE
sessions running in separate windows. The reasons >are complicated, so I'll
keep things simple by just explaining the problem!
>
>Unfortunately
On Sat, Sep 11, 2004 at 01:48:43AM -0500, [EMAIL PROTECTED] wrote:
> Hello everyone,
>
> I have a problem connecting to the Database. When I execute the code at the
> bottom, it gives me this message: "DB Error: extension not found". It sees
> the DB file and the parameters are correct. I checked
Hello!
I wrote this skript, but gettext returns only the english string.
I could not find a bug at bugs.php.net, so I think I forgot something.
I have Debian Linux, PHP Version 4.3.4 and Gettext 0.14.1 (PHP and Gettext
as debian pakages)
gettext.php in /var/www/gymbay/
messages.po
# translat
John,
The long expanation is I'm indexing 2000 records to make a list of each author, and
which record I can find them in. It's a bibliography thing. I want to do this, but I
don't know how to code it:
$array();
$myconnection = mysql_connect($server,$user,$pass);
mysql_select_db($db,$myconnecti
Thanks. As a newbie, something I like to try also is making a second file with phps as
the extension.
Sometimes reading my code in colour helps me see things better. Sometimes I forget a
semi-colon ";" and will see the problem immediately.
Ma Sivakumar wrote:
> =
> > Hello John,
> > The reason is I am trying to "chain" some
> programs,
> > the idea is to take the first part (in the
> original
> > example "ninty", then redirect to the second
> script
> > passing that value...after the second script
> finishes
> > it redirects back to the first script which
On Sat, 11 Sep 2004 10:41:49 -0400, John Taylor-Johnston
<[EMAIL PROTECTED]> wrote:
> Thanks. As a newbie, something I like to try also is making a second file with phps
> as the extension.
> Sometimes reading my code in colour helps me see things better. Sometimes I forget a
> semi-colon ";" and
Did you restart apache after creating your mo file ?
Look at the first comment on http://ca3.php.net/gettext
You might be facing this issue.
Yann
On September 11, 2004 10:08, Christian David wrote:
> Hello!
>
> I wrote this skript, but gettext returns only the english string.
>
> I could not f
Bart Coninckx wrote:
> header('Cache-Control:Âno-store,Âno-cache,Âmust-revalidate');Â//
> HTTP/1.1
> header('Cache-Control:Âpost-check=0,Âpre-check=0');Â//ÂdamnableÂIE5
You overwrite the first Cache-Control command, use:
header("Cache-Control: post-check=0, pre-check=0", false);
Now both Cache-
Yann LarrivÃe wrote:
> Did you restart apache after creating your mo file ?
You are right, thank you.
But there where another mistake, too. My system doesn't like "de_DE", it
wants to have "[EMAIL PROTECTED]".
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.ph
I'm creating classes that rely on the presence of other classes that I've
created. Does PHP5 provide a way to specify these dependencies or a way to
check these dependencies when the class is instantiated? For example, class
Automobile would fail to instantiate if class Tire wasn't available.
I
Hey!
I think you used header() after put out some data or php installed on server
as CGI. Because send header possible only if php installed as apache module.
You can use custom function which use javascript for redirection. But it
works if browser of client support javascript:
function redirect
Hey!
I think you used header() after put out some data or php installed on server
as CGI. Because send header possible only if php installed as apache module.
You can use custom function which use javascript for redirection. But it
works if browser of client support javascript:
function redirect
* Thus wrote Ed Lazor:
> I'm creating classes that rely on the presence of other classes that I've
> created. Does PHP5 provide a way to specify these dependencies or a way to
> check these dependencies when the class is instantiated? For example, class
> Automobile would fail to instantiate if c
Maybe you want this:
while ($data = mysql_fetch_assoc($news)) {
$sql += "INSERT INTO newtable VALUES ($data['AUS'], $data['id']);\r\n";
}
If you nevertheless want save the data in array you can use a
two-dimensional array $authors:
$authors = array();
while ($data = mysql_fetch_assoc($news))
Alexander Kleshchevnikov wrote:
Maybe you want this:
while ($data = mysql_fetch_assoc($news)) {
$sql += "INSERT INTO newtable VALUES ($data['AUS'], $data['id']);\r\n";
}
I seriously recommend using .= on strings instead of +=. += DOES work,
that's true, but it's not INTENDED to be used on stri
How can I enable PHP5's native SOAP, without
presumably compiling PHP5 from source? I don't see an
extension for it in php.ini
John
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
--
PHP Ge
> I think you used header() after put out some data or php installed on server
> as CGI. Because send header possible only if php installed as apache module.
Not so - I've used header('Location: http://www.xyz.com/'); with PHP
as a CGI binary under both Apache 1 and Apahce 2 without problems.
Pau
* Thus wrote John Smith:
> How can I enable PHP5's native SOAP, without
> presumably compiling PHP5 from source? I don't see an
> extension for it in php.ini
This should work as long as php is installed properly:
extension=php_soap.dll
Curt
--
The above comments may offend you. flame at will.
* Thus wrote bskolb:
> Does anyone know if there is a mailing list for gdlib? Can't seem to find
> in Google.
This is there homepage:
http://www.boutell.com/gd/
I dont see any list there though.
Curt
--
The above comments may offend you. flame at will.
--
PHP General Mailing List (http://www
> -Original Message-
> What you can do is something like this:
>
>
1> function __autoload($class_name) {
2> static $_stack = array();
3>
4> // push the calls of autoload here
5> array_push($_stack, $class_name);
6>
7> if ( [EMAIL PROTECTED]("$class_name.php") ||
8>!cl
Add to php.ini
Extension=php_soap.dll
I didn't see a line in php.ini to uncomment, but I found a page that
confirmed this:
http://www.experts-exchange.com/Web/Web_Languages/PHP/PHP_Windows/Q_21080398
.html
> -Original Message-
> From: John Smith [mailto:[EMAIL PROTECTED]
> Sent: Satur
Hi,
I had really bad headaches with gettext some time ago
and since then I decided to no longer use it. It's unreliable on
heavy loads (mixed english + translated texts), moving the scritps to
another machine means more headache, it relies on system calls which
are not "isolated", whic
Ed Lazor wrote:
I'm creating classes that rely on the presence of other classes that I've
created. Does PHP5 provide a way to specify these dependencies or a way to
check these dependencies when the class is instantiated? For example, class
Automobile would fail to instantiate if class Tire wasn'
Catalin Trifu wrote:
> moving the scritps to
> another machine means more headache, it relies on system calls which
> are not "isolated", which means scritps can step on each others toes.
> MyÂadviceÂisÂstayÂawayÂofÂgettext.
Thanks for your advice!
I have tested the script on the Webserver, and
I'm doing a project on a server with an old version of PHP -- 4.0.6 on
Apache 1.3.22 on FreeBSD and I'm having a problem with session
variables. From code in a script that receives a post:
-
session_start();
$HTTP_SESSION_VARS["m_name"] = get_magic_quotes_gpc() ?
stripslashes($HTTP_POST_VAR
Do you guys happen to have an easy easy to do this?
I need to convert plain text submitted via a textarea form field to html formatted
text.
Is there a way to do this with php?
Thanks,
Brent
On Sunday 12 September 2004 07:01, Brent Clements wrote:
> Do you guys happen to have an easy easy to do this?
>
> I need to convert plain text submitted via a textarea form field to html
> formatted text.
>
> Is there a way to do this with php?
$htmltext = "$plaintext";
Season to taste. Or exp
Anyone have any good advice for an upgrade strategy from php4.3.6 to
php5.0.1? I have a MAC OSX 10.3.5 system that I use for my test machine and
an Open BSD system for my production machine. The production machine is
also semi-managed hosting system (virtual server). Can I expect my current
4.3.
On Sat, 2004-09-11 at 19:35, [EMAIL PROTECTED] wrote:
> Anyone have any good advice for an upgrade strategy from php4.3.6 to
> php5.0.1? I have a MAC OSX 10.3.5 system that I use for my test machine and
> an Open BSD system for my production machine. The production machine is
> also semi-managed
Hello everyone,
I had an apache server running with php 5. Now I installed unix on that pc and apache
and php 5.
I am using some forms on web pages and get their values by writing
$foo = $_POST["foo"];
Since I 'upgraded' to unix i am getting a double backslash for each backslash entered
> -Original Message-
> On Sunday 12 September 2004 07:01, Brent Clements wrote:
> > Do you guys happen to have an easy easy to do this?
> >
> > I need to convert plain text submitted via a textarea form field to html
> > formatted text.
> >
> > Is there a way to do this with php?
>
> $ht
I have the following in my CSS (loaded on the main site page):
/* FOOTER */
.footer {
font-family: Tahoma, "Trebuchet MS";
font-size: 9px;
color: #BFBFBF;
text-decoration: none;
border: none;
line-height: 1.25em;
font-weight: bold;
}
.foote
Hello,
I have the following class for ftp:
-- class FTP {
var $host;
var $port;
var $username;
var $password;
var $connection;
function FTP($host="localhost",$port=21,$user="anonymous",$password="") {
$this->host=$host;
$this->port=$port;
$this->username
Possibly you dont have those fonts to see them?
Jason
"Jeff Swanberg" <[EMAIL PROTECTED]> wrote:
>
> I have the following in my CSS (loaded on the main site page):
>
> /* FOOTER */
>
> .footer {
> font-family: Tahoma, "Trebuchet MS";
> font-size: 9px;
> color: #BFBFBF;
Nope, I have them all. Any other ideas??? Do I need to load the style.css
on every sub-page or just on the main page? Perhaps the style sheet is
cached so, after I upload a new one, I need to do something to flush the
cache?
js
"Jason Davidson" <[EMAIL PROTECTED]> wrote in message
news:[
:-P duh...
Wasn't sure if php4 code would run under php5.
>From the sounds of your response, I guess it will process 4.3.x code...
/T
on 9/11/04 18:47, Robert Cummings at [EMAIL PROTECTED] wrote:
> On Sat, 2004-09-11 at 19:35, [EMAIL PROTECTED] wrote:
>> Anyone have any good advice for an u
On Sat, 2004-09-11 at 22:43, Tim Best wrote:
> :-P duh...
>
> Wasn't sure if php4 code would run under php5.
>
> >From the sounds of your response, I guess it will process 4.3.x code...
For the most part you should get very few errors. You will probably get
a lot of warnings, but they will pro
Alexander Kleshchevnikov wrote:
Maybe you want this:
while ($data = mysql_fetch_assoc($news)) {
$sql += "INSERT INTO newtable VALUES ($data['AUS'], $data['id']);\r\n";
}
If you nevertheless want save the data in array you can use a
two-dimensional array $authors:
$authors = array();
while ($dat
Using the code shown below, I get nothing from get_class_vars but I do get
very useful results from get_class_methods. I realize that this is how it is
supposed to be, but it would be useful to be able to get the property
members of the class. The reason I want to see the properties of DOMDocume
© 2004 Keatley Photography - mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED] - 206 240-5543
There is no PHP here.
--
Raditha Dissanayake.
http://www.radinks.com/sftp/ | http://www.raditha.com/megaupload
Lean and mean
On Sunday 12 September 2004 08:53, PHP Mailing list account wrote:
> I had an apache server running with php 5. Now I installed unix on that pc
> and apache and php 5. I am using some forms on web pages and get their
> values by writing $foo = $_POST["foo"];
> Since I 'upgraded' to unix i am getti
46 matches
Mail list logo