Bruce Gilbert wrote:
Hello,
I have a form on my site
http://www.inspired-evolution.com/Contact.php
produces this error on submission
Parse error: parse error, unexpected T_STRING in
/hsphere/local/home/bruceg/inspired-evolution.com/Thankyou.php on line
35
Well.. it says it's found a strin
I am working on a script which will open a remote PHP file (located on one
of my other website servers) and collect information that gets outputted
from the remote file. I have it working now by using the fopen() function
to open the file on the remote webserver. I am just wondering if it is
I recommend PSPad
2005/7/16, Bruce Gilbert <[EMAIL PROTECTED]>:
>
> Hello,
>
> I have a form on my site
>
> http://www.inspired-evolution.com/Contact.php
>
> produces this error on submission
>
> Parse error: parse error, unexpected T_STRING in
> /hsphere/local/home/bruceg/inspired-evolution
Hello Ryan,
Saturday, July 16, 2005, 3:53:16 AM, you wrote:
RA> in the beginning if the height is more, then its resizing
RA> perfectly...but if the width is more I want to cut out 90pix from
RA> the middle of the pic...instead its giving me a skewed image as
RA> you can see from
RA> Any ideas?
Hey,
Below the code code I am using, but before you see it let me try to explain
it a bit to you.
Basically I first check to see if a certain image has a bigger width, bigger
height or they are
equal, according to that I call the correct function.
I point the script to a image file (.jpg) then th
Hello Matt,
Saturday, July 16, 2005, 3:31:26 AM, you wrote:
MP> I don't have access to edit the php.ini settings. Is there anyway to
MP> copy part of the file, then copy the rest where it left off?
[ Note: Please reply to the mailing list - not to me personally ]
The suggestion I gave you does
Wouldn't something like rsync be better suited for this?
I only ask because I've run something like this before...
Matt Darby
Richard Davey wrote:
Hello Matt,
Saturday, July 16, 2005, 3:04:29 AM, you wrote:
MP> I am writing a script that will read a file from a remote server
MP> and write it
Hello Matt,
Saturday, July 16, 2005, 3:04:29 AM, you wrote:
MP> I am writing a script that will read a file from a remote server
MP> and write it to the local server. It works fine except when large
MP> files are attempted. It times out and gives the error that the
MP> maximum execution time has
I am writing a script that will read a file from a remote server and write
it to the local server. It works fine except when large files are
attempted. It times out and gives the error that the maximum execution time
has been reached and the file will only be partially copied to the local
ser
Hi Rasmus,
You are right. It was the problem with the browser. I used Mozilla Firefox
to try, and do not know what consideration it just serialized the identical
url http requests. I then turned to use 2 IE 6.0 windows, 2 tabs within
Maxthon browser, one IE windows and one Firefox, to test. Th
Hello,
I have a form on my site
http://www.inspired-evolution.com/Contact.php
produces this error on submission
Parse error: parse error, unexpected T_STRING in
/hsphere/local/home/bruceg/inspired-evolution.com/Thankyou.php on line
35
here is the PHP code, please let me know if you see where
Todd Cary wrote:
Damn! I should have checked the error_log first!
PHP Warning: Unknown(): Invalid library (maybe not a PHP library)
'libgd.so.2' in Unknown on line 0
And this is the library from the rpm specified in ww.php.net:
http://www.boutell.com/gd/. However, the site says that gd sho
Lauri Harpf wrote:
Now, if I make a point of not "chmod 755"ing the .html files in
question, the server should be safe from someone feeding a html file
with an embedded PHP script, right? Is there something else I should
be looking out for - or is there an even better way of handling the
transfer
Ahmed:
It's real perfect!
B/R
2005/7/14, Ahmed Saad <[EMAIL PROTECTED]>:
>
> hi babu
>
> On 7/13/05, babu <[EMAIL PROTECTED]> wrote:
> > i have a set of queries which i have placed them in one .sql file.i want
> to run this file using php's mssql and oracle(oci) functions.
>
> you need a d
Brian V Bonini wrote:
On Fri, 2005-07-15 at 17:53, Chris wrote:
Yeah, I understand... Is multiple inheritance something that true OOP
languages can do?
Yes.
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Liang ZHONG wrote:
> Could you please explain it a little bit more?
> I did test this way.
>
> The code is the same for a.php and b.php
>
>sleep(20);
>print Done. ";
>
> ?>
>
> I place request from 2 browser windows.
> First time, I placed with http://baseURL/a.php with both 2
On Fri, 2005-07-15 at 17:53, Chris wrote:
> >
> Yeah, I understand... Is multiple inheritance something that true OOP
> languages can do?
>
Yes.
--
s/:-[(/]/:-)/g
BrianGnuPG -> KeyID: 0x04A4F0DC | Key Server: pgp.mit.edu
Could you please explain it a little bit more?
I did test this way.
The code is the same for a.php and b.php
";
?>
I place request from 2 browser windows.
First time, I placed with http://baseURL/a.php with both 2 browsers,
starting times have 5 second interval. Then the first "Done" shows aft
Liang ZHONG wrote:
> As I know, apache-php works this way. When the web server gets an http
> request with file name extension ".php", it will start the php
> interpreter to process the php file.
>
> Now I have a php program does something like this: when it is executing
> with one parameter p1, t
As I know, apache-php works this way. When the web server gets an http
request with file name extension ".php", it will start the php interpreter
to process the php file.
Now I have a php program does something like this: when it is executing with
one parameter p1, the program code goes to con
Jochem Maas wrote:
Chris wrote:
Hi,
I've got a collection of Element classes (about 8 different ones).
They are all subclasses of a single parent element. I'm trying to
extend their functionality (both the individual classes, and the
parent class they inherit).
I can extend each Element
* Chris <[EMAIL PROTECTED]>:
> I've got a collection of Element classes (about 8 different ones). They
> are all subclasses of a single parent element. I'm trying to extend
> their functionality (both the individual classes, and the parent class
> they inherit).
>
> I can extend each Element sub
Chris wrote:
Hi,
I've got a collection of Element classes (about 8 different ones). They
are all subclasses of a single parent element. I'm trying to extend
their functionality (both the individual classes, and the parent class
they inherit).
I can extend each Element subclass with it's new
Liang wrote:
> I am a programmer and new to php. I wonder what process control can php
> interpreter do for multithreading . I notice that through http request, php
> interpreter can execute 2 php programs simataneously, but will only
> sequentially queued and execute if I try to execute one ph
Yes, hope you are using the MyISAM, full-text index is much better than
'LIKE'.
If you use the way like 'name like '$name%' or org like '$name'', it will
cost lots of your time...
Best regards,
Shiqi Yang
-Original Message-
From: Amir Mohammad Saied [mailto:[EMAIL PROTECTED]
Sent:
I am converting "simple" html files.. reports that were created in Doc and
then converted to html. I am assuming you are executing this tool from PHP
and sending back the results once complete? How has it worked for you.
Christian
""Chris Boget"" <[EMAIL PROTECTED]> wrote in message
news:[EMAI
Ok I just went through great lengths investigating this. If you have complex
HTML, forget it. All the HTML -> PDF conversions only work out with very
simple HTML. If you are trying to convert a web page to PDF if most likely
will look terrible - to check on this try it using Acrobat Distiller,
assu
> I am looking for a PHP based packaged (though it doesn't necesarily have
to
> be) that will convert HTML files to their PDF representations; on the fly
of
> course. Anyone know or have any experience w/this? Thanks in advance,
We use htmldoc.
http://www.easysw.com/htmldoc/
thnx,
Chris
--
PHP
I am a programmer and new to php. I wonder what process control can php
interpreter do for multithreading . I notice that through http request, php
interpreter can execute 2 php programs simataneously, but will only
sequentially queued and execute if I try to execute one php code in the same
ti
Hi Everyone,
I am looking for a PHP based packaged (though it doesn't necesarily have to
be) that will convert HTML files to their PDF representations; on the fly of
course. Anyone know or have any experience w/this? Thanks in advance,
Christian
--
PHP General Mailing List (http://www.php.net/)
Hello,
let's assume a PHP program that allows users to enter a web page address. After
the address is entered, the program would fetch the page in question and
replace all the occurrences of the word "llama" with the word "alpaca". It
would then provide the modified HTML code in a safe fashion
I am a programmer and new to php. I wonder what process control can php
interpreter do for multithreading . I notice that through http request, php
interpreter can execute 2 php programs simataneously, but will only
sequentially queued and execute if I try to execute one php code in the same
t
What about...
Database Host:
Database User:
And then...
$parentConfigValue ) {
if( is_array( $parentConfigValue ) {
foreach( $parentConfigValue as $childConfigKey =>
$childConfigValue )
{
$fileCode .=
"$config['$parentConfigKey']['$chil
Bruno B B Magalhães wrote:
Hi everybody,
well I don´t want to include and use those variables or set then. I
want to read the file, parse the vars to a form, so the user can change
the system configs using the web instead of FTP...
I am thinking reading using a simple include, and then cl
Hi,
I've got a collection of Element classes (about 8 different ones). They
are all subclasses of a single parent element. I'm trying to extend
their functionality (both the individual classes, and the parent class
they inherit).
I can extend each Element subclass with it's new specific func
Hi everybody,
well I don´t want to include and use those variables or set then. I
want to read the file, parse the vars to a form, so the user can
change the system configs using the web instead of FTP...
I am thinking reading using a simple include, and then clean the file
contents and
On Fri, 2005-07-15 at 16:03 +0100, Richard Davey wrote:
> Hello André,
>
> Friday, July 15, 2005, 4:24:23 PM, you wrote:
>
> AM> I am trying to trim some text containing HTML tags. What I want to
> AM> do is to trim the text without trimming the tags or html entities
> AM> like and such, wich c
Sounds like maybe he wants to keep his output to 25 chars not including HTML
tags.. but wants to output tags if they're present.
Turn this:
This is regular text with some text inside a span
Into this:
This is regular text with some text inside a span
Then trim to:
This is regular text with
The
On Fri, 2005-07-15 at 10:02 -0500, Jay Blanchard wrote:
> [snip]
> Let's say that I have an original string like:
>
> This is regular text with some text inside a
> span
>
> Let's say I want to trim it to 25 chars.
>
> "Brainless trimming" would give me something like
>
> "This is regular text
On Fri, 2005-07-15 at 16:12 +0100, Raz wrote:
> If you really want to do it, you're gonna have to get your hands
> dirty, I'm afraid...;)
>
> ...off with the gloves...!
I was affraid that would happen :(
Thanks anyway :)
Take care!
--
PHP General Mailing List (http://www.php.net/)
To unsubscr
If you really want to do it, you're gonna have to get your hands
dirty, I'm afraid...;)
...off with the gloves...!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello André,
Friday, July 15, 2005, 4:24:23 PM, you wrote:
AM> I am trying to trim some text containing HTML tags. What I want to
AM> do is to trim the text without trimming the tags or html entities
AM> like and such, wich completelly break the design.
The problem as I see it, is that while i
[snip]
Let's say that I have an original string like:
This is regular text with some text inside a
span
Let's say I want to trim it to 25 chars.
"Brainless trimming" would give me something like
"This is regular text tag, thus messing the design also.
It also happened to trim to half, havin
On Fri, 2005-07-15 at 15:49 +0100, Raz wrote:
> Are you trying to turn, for example
>
> Some text here.
>
> into
>
> Some text here.
>
> ?
Let's say that I have an original string like:
This is regular text with some text inside a
span
Let's say I want to trim it to 25 chars.
"Brainless t
Are you trying to turn, for example
Some text here.
into
Some text here.
?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Fri, 2005-07-15 at 15:40 +0100, Raz wrote:
> Take a look at http://uk.php.net/manual/en/ref.pcre.php - plenty of
> useful functions for this sort of thing...
>
> raz
Implementing regular expressions on this kind of task would be a big
PITA... and that's if it works (read my previous e-mail).
On Fri, 2005-07-15 at 07:41 -0700, Todd Cary wrote:
> Damn! I should have checked the error_log first!
>
> PHP Warning: Unknown(): Invalid library (maybe not a PHP library)
> 'libgd.so.2' in Unknown on line 0
>
> And this is the library from the rpm specified in ww.php.net:
> http://www.boutel
Damn! I should have checked the error_log first!
PHP Warning: Unknown(): Invalid library (maybe not a PHP library)
'libgd.so.2' in Unknown on line 0
And this is the library from the rpm specified in ww.php.net:
http://www.boutell.com/gd/. However, the site says that gd should be
supported
Take a look at http://uk.php.net/manual/en/ref.pcre.php - plenty of
useful functions for this sort of thing...
raz
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[snip]
I am trying to trim some text containing HTML tags. What I want to do is
to trim the text without trimming the tags or html entities like
and such, wich completelly break the design.
Has anyone succeded on doing such a thing? phpclasses.org won't help :(
[/snip]
What do you mean, "trim s
On Fri, 2005-07-15 at 07:25 -0700, Todd Cary wrote:
> In php 4.3.11, ini files are placed in /etc/php.d that have
> "extension=". I have one (i.e. gd.ini) with
> "extension=libgd.so.2" and libgd.so.2 is in /usr/lib/php4.
>
> Todd
>
> André Medeiros wrote:
> > On Fri, 2005-07-15 at 07:06 -0
In php 4.3.11, ini files are placed in /etc/php.d that have
"extension=". I have one (i.e. gd.ini) with "extension=libgd.so.2"
and libgd.so.2 is in /usr/lib/php4.
Todd
André Medeiros wrote:
On Fri, 2005-07-15 at 07:06 -0700, Todd Cary wrote:
I have php 4.3.11 available, and when I
Greetings.
I am trying to trim some text containing HTML tags. What I want to do is
to trim the text without trimming the tags or html entities like
and such, wich completelly break the design.
Has anyone succeded on doing such a thing? phpclasses.org won't help :(
Thanks in advance.
André
--
[snip]
I have php 4.3.11 available, and when I do a phpinfo()
http://209.204.172.137:81/testphp.php
I see it in the configuration, but it is not listed elsewhere. How can
I test to see if it is available?
gd_info() is not in 4.3.11 and extension_loaded('gd') gives a false.
[/snip]
You may
On Fri, 2005-07-15 at 07:06 -0700, Todd Cary wrote:
> I have php 4.3.11 available, and when I do a phpinfo()
>
> http://209.204.172.137:81/testphp.php
>
> I see it in the configuration, but it is not listed elsewhere. How can
> I test to see if it is available?
>
> gd_info() is not in 4.3.
I have php 4.3.11 available, and when I do a phpinfo()
http://209.204.172.137:81/testphp.php
I see it in the configuration, but it is not listed elsewhere. How can
I test to see if it is available?
gd_info() is not in 4.3.11 and extension_loaded('gd') gives a false.
Todd
--
PHP General
An interesting idea. I'll work on this next week and see how it goes. Can I
ask: why two versions of $uriparams?
Terry
-Original Message-
From: Andras Kende <[EMAIL PROTECTED]>
Sent: Jul 14, 2005 9:53 PM
To: 'Terry Romine' <[EMAIL PROTECTED]>,
'php'
Subject: RE: [PHP] 404 Not F
Thanks for all of the help. It is working now(On one page).
Thomas
On 7/11/05, Richard Lynch <[EMAIL PROTECTED]> wrote:
> On Sun, July 10, 2005 7:50 pm, Thomas Bonham said:
> > I have been trying to update & fix the errors.
> > With the new code (That I will post at the end), I'm only getting one
Trying to build php 5.0.4 on solaris using gcc, and get this error:
checking for Apache 2.0 filter-module support via DSO through APXS... no
checking for Apache 2.0 handler-module support via DSO through APXS...
Sorry, I cannot run apxs. Possible reasons follow:
1. Perl is not installed
2. apxs
[snip]
Does anyone know of anywhere I can get my website picked apart from a
usability point of view? I'm thinking of general first impressions
rather
than an in-depth review of functionality.
[/snip]
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http:
Hello
Sorry for the OT request.
Does anyone know of anywhere I can get my website picked apart from a
usability point of view? I'm thinking of general first impressions rather
than an in-depth review of functionality.
Thanks
Mark
--
www.itsagoodprice.com - top-brand electronics for less.
--
Yes, you're right. It's false
This dont't work too.
foreach ($dbh->query('SELECT * FROM words') as $row) {
echo $row['word'] . "";
}
But this works
$stmt = $dbh->prepare('select * from words');
$stmt->execute();
$rows = $stmt->fetchAll();
echo count($rows) . "";
"Marek Kilimajer" <[EMAI
Markus Fischer wrote:
I'm trying to figure out the parent of a node in tidy. As it seems to me
there's no property/method available for this.
I really want to avoid traversing the whole document and build the
relation myself; this is getting pretty slow.
PHP5 currently doesn't feature this m
Holografix wrote:
print_r($stmt) prints nothing. print($stmt) print nothing too.
I checked errorCode() and it prints .
Then it seems $stmt is false. var_dump() is more verbose about it.
"Marek Kilimajer" <[EMAIL PROTECTED]> escreveu na mensagem
news:[EMAIL PROTECTED]
Holografix wro
print_r($stmt) prints nothing. print($stmt) print nothing too.
I checked errorCode() and it prints .
"Marek Kilimajer" <[EMAIL PROTECTED]> escreveu na mensagem
news:[EMAIL PROTECTED]
> Holografix wrote:
>> Hi Marek
>>
>> It's print_r($row), not print_r($stmt) ;)
>
> That's what I'm asking -
Holografix wrote:
Hi Marek
It's print_r($row), not print_r($stmt) ;)
That's what I'm asking - If you put print_r($stmt) in that line, what
does it print?
"Marek Kilimajer" <[EMAIL PROTECTED]> escreveu na mensagem
news:[EMAIL PROTECTED]
Holografix wrote:
Hi. When using this example
Hi Georgi
>From php manual:
PDO::query
Executes an SQL statement, returning a result set as a PDOStatement object
()
object PDO::query ( string statement )
So, $stmt shoul be an object.
Thanks four your answers.
I will post a more detailed message in php-db where this problem belongs. My
fau
Hi Marek
It's print_r($row), not print_r($stmt) ;)
"Marek Kilimajer" <[EMAIL PROTECTED]> escreveu na mensagem
news:[EMAIL PROTECTED]
> Holografix wrote:
>> Hi. When using this example from
>> http://netevil.org/talks/index.php?t=pdo&s=20, the site of pdo's author I
>> have this error:
>>
>>
> Hi. When using this example from
> http://netevil.org/talks/index.php?t=pdo&s=20, the site of pdo's author I
> have this error:
>
> Fatal error: Call to a member function fetchAll() on a non-object in
> /www/home/testes/pdo_my1.php on line 17
>
>
Object creation :
> $dbh = new PDO('mysql:host=loc
On 7/15/05, Daevid Vincent <[EMAIL PROTECTED]> wrote:
> Maybe I'm missing something about XML specifications, but this doesn't seem
> right to me.
>
> http://www.php.net/manual/en/ref.simplexml.php
>
> Here is a code fragment I use:
>
> $xml = simplexml_load_string($returnData);
> var_dump($xml)
Hi,
I'm trying to figure out the parent of a node in tidy. As it seems to me
there's no property/method available for this.
I really want to avoid traversing the whole document and build the
relation myself; this is getting pretty slow.
Any ideas on this?
thanks,
- Markus
--
PHP General M
71 matches
Mail list logo