I'm not sure PHP5 would read php.ini from that directory.
You should take in account that your hosting company may _NOT_ allow
you to change certain parameters. That said, try visiting
http://us2.php.net/configuration.changes and see how that works for
you.
Good luck
On Fri, May 9, 2008 at 4:47
Yeah, that would be the way to do it ;)
On Fri, May 9, 2008 at 3:54 PM, Shawn McKenzie <[EMAIL PROTECTED]> wrote:
> Shawn McKenzie wrote:
>>
>> André Medeiros wrote:
>>>
>>> Shawn,
>>>
>>> I think the idea here was to get a time
Shawn,
I think the idea here was to get a timestamp from a date in that
format he was telling about.
After replying however, I noticed that strptime is only implemented in
PHP5. Sorry about that mate.
On Fri, May 9, 2008 at 2:36 PM, Shawn McKenzie <[EMAIL PROTECTED]> wrote:
> Merca, Ansta Ltd wr
Try this:
http://pt.php.net/manual/en/function.strptime.php
Use the result with mktime to get the timestamp. I also checked
set_locale but that won't interfere with strtotime :(
On Fri, May 9, 2008 at 9:58 AM, Merca, Ansta Ltd <[EMAIL PROTECTED]> wrote:
> Hi
>
> Anyone "dd/mm/" as a date var
OK, here's how it goes:
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Either that, or
ini_set('display_errors', '1');
On 5/15/07, Jim Lucas <[EMAIL PROTECTED]> wrote:
Afan Pasalic wrote:
> hi,
> in php.ini is error_reporting turned off. and, to see an error have to
> open error_log.
> though, for me is much easier to have it on and see the errors on the
> screen.
php://stdin perhaps?
On 4/18/07, Justin Frim <[EMAIL PROTECTED]> wrote:
André Medeiros wrote:
> Reading from php://input on a webserver will retrieve the Body of the
> HTTP Request.
Not for me it doesn't.
That only seems to work when the form is submitted as
application/x-ww
php://input ?? ;)
On 4/18/07, Justin Frim <[EMAIL PROTECTED]> wrote:
Chris Shiflett wrote:
> Justin Frim wrote:
>
>>Is there any way to retrieve the POST message body when a form is
>>submitted to a PHP script using multipart/form-data?
>
>
> There's the always_populate_raw_post_data configurati
1) You'll be better off using templates, AFAIK.
2) PHP has classes to generate PDF's without the need of extensions.
(http://www.fpdf.org/)
On 4/18/07, Jonathan Kahan <[EMAIL PROTECTED]> wrote:
Hi all,
Can PHP be used to generate an excel file that A) Contains Macros B) Allows
Graphics to be a
Reading from php://input on a webserver will retrieve the Body of the
HTTP Request.
On 4/18/07, Justin Frim <[EMAIL PROTECTED]> wrote:
Greetings,
Is there any way to retrieve the POST message body when a form is
submitted to a PHP script using multipart/form-data?
I can't use just the $_POST[]
Actually, $this->$message would be wrong, but the concept is right.
On 2/19/07, Leonard Burton <[EMAIL PROTECTED]> wrote:
HI,
> $this->SetFont('Arial','B',15);
what you include is a snippet from a class. Here is a brief into to
how a class works, sort of like a function. The $this refers to
Hi list.
I know this may be a bit out of topic, but I've decided to try.
This website I'm maintaining opens just fine in firefox, and loads
everything. However, the same doesn't happen in IE, since the status
bar reads "1 item(s) remaining" on most of the pages.
That issue raises another proble
Do those log GET params?
On 12/6/06, Vincent DUPONT <[EMAIL PROTECTED]> wrote:
You could look for Apache logs analysers, too
vincent
-Original Message-
From: Rick. [mailto:[EMAIL PROTECTED]
Sent: Wed 6/12/2006 12:48
To: php-general@lists.php.net
Subject: [PHP] PHP analytics
Hello
Not really, it's instant now. You just have to have a google account.
On 12/6/06, Edward Kay <[EMAIL PROTECTED]> wrote:
What you describe is certainly possible, and many sites have this
functionality.
If you're just starting out however, look into Google Analytics. It gives
you more info than y
Storing the document that is being called and get paramaters on a DB
is very simple
You would have an include like
$doc = $_SERVER['PHP_SELF'];
$get_vars = serialize($_GET);
mysql_query('INSERT INTO logs (page, vars) VALUES ("' . $doc . '", "'
. addslashes($get_vars) . '")');
Of course you'd ne
A bit out of topic perhaps, but is this the time to see Steve Balmer
and his developers dance all over again? ;)
H
On 11/3/06, Richard Lynch <[EMAIL PROTECTED]> wrote:
On Fri, November 3, 2006 12:36 pm, Curt Zirzow wrote:
> Here is the actual demo given:
> http://blogs.iis.net/bills/arc
I second that. My company has an IP address on the mainland which is
our internet gateway, but on the azorean islands the time zone is
different.
On 11/3/06, Edward Kay <[EMAIL PROTECTED]> wrote:
> Hmm... in $_SERVER array you get a client IP so You know client coutry. if
> exists a list of ip
The result of that function would depend on where the server is
installed, not where the client is accessing it from, right?
On 11/3/06, Dotan Cohen <[EMAIL PROTECTED]> wrote:
How does php decide what timezone a user is in? Although I am in
Haifa, Israel (GMT+2), when I go to a page with date("e
l Scott <[EMAIL PROTECTED]> wrote:
On Fri, 2006-10-13 at 16:05 +, André Medeiros wrote:
> The thing is, the first request to the site needs to start the backup,
> but I didn't want to use any command-line tools, since some of our
> servers rely on safe_mode. Is there any
Hello list,
I am working on a backup system that needs to be called through a
webpage to start the process. I am trying to do this on a
one-file-only sollution.
The thing is, the first request to the site needs to start the backup,
but I didn't want to use any command-line tools, since some of o
Hello everyone.
This may seem as a silly question, but I went through the
documentation and it wasn't explicit on this issue, at least for me.
Let's say that I'm on an 128kb/s upload. I need to upload an 100mb
file through a POST. PHP has, by default, 90 seconds execution limit
time.
So, the qu
ffmpeg _DOES_ convert to flash video (FLV).
On 9/4/06, Paul Scott <[EMAIL PROTECTED]> wrote:
On Mon, 2006-09-04 at 11:50 +0200, Merlin wrote:
> thank you for the hint. ffmpeg seams to be a good way to create
> thumbnails out of the video, but how to convert it on the fly to flash
> video?
PHP
divide by 1024, and you'll get KB
divide again by 1024 and you'll get MB
same for GB, TB, etc
On 7/25/06, weetat <[EMAIL PROTECTED]> wrote:
Hi all ,
I have data which have value in bytes for example ,
$bytes = 33554432;
How to convert this to MB ?
THanks
- weetat (PHP Novice)
Here's what you can do:
Have a timestamp of the last e-mail stored on a file. If time() - that
timestamp < 600 (10 minutes) then don't send the e-mail.
When sending it, do this
$server_array = print_r($_SERVER, true);
and use the $server_array variable to obtain some info regarding the
client
A quick google search tells you that LONGBLOB can contain string with
a maximum length of 4294967295 characters, which translates into
4gb+/-
Maybe a MEDIUMBLOB (16777215 characters) would already do the trick,
no? It supports as much as 16mb +/-
On 5/31/06, Chris <[EMAIL PROTECTED]> wrote:
I believe that those 90 seconds start counting as soon as php starts
interpreting the request, ie. after getting the file and form, not
when it starts uploading.
The second one wouldn't make much sense.
On 5/26/06, Rory Browne <[EMAIL PROTECTED]> wrote:
It's very hard to read code, when either
When my clients use word to compose the contents of a website, I
always recommend them to paste the contents onto notepad and only then
pass them to the RTE on the browser so that the text looses all it's
formatting.
Sucks, but it's the only way I know. Since then, they started
formatting using p
So, here's what you need.
http://ftp.45.free.net/pub/catdoc/catdoc-0.94.2.zip
This converts doc files to .txt, although I'm not sure that it will
keep the format intact.
Take care.
On 5/24/06, Finner, Doug <[EMAIL PROTECTED]> wrote:
On 5/23/06, Martin Alterisio <[EMAIL PROTECTED]> wrote:
>
>
You COULD sort them if the date was stored backwards, ie. Year/Month/Day
On 12/21/05, Jim Moseby <[EMAIL PROTECTED]> wrote:
> > Have a load of dates in the format DD/MM/YY. Thet are stored
> > as a VARCHAR on
> > a mysql DB.
> >
> > I need a way to sort them into order(most recent first)
> >
> >
>
Check your webserver logs. If PHP couldn't use the extension, it will
accuse that in the logs.
On 10/20/05, Jay Blanchard <[EMAIL PROTECTED]> wrote:
> [snip]
> > Call to undefined function: ldap_connect()
> >
> > What am I missing? TIA.
>
>
> Did you uncomment (and properly define) the 'extension_
within the various pages...
>
> however, i'm now having an issue when i try to use the 'header' function to
> redirect the user to another page after the given logic is completed.
>
> -bruce
>
>
>
> -Original Message-
> From: André Medeiros [mailto:[EM
If you want to receive e-mails from the outside, yes, you'll have to
register a domain, configure an MTA to work on windows and all that
jazz.
Besides, if you want to manage pop, you might as well start looking at
the php4-imap / php5-imap module to be able to work with POP more
easily.
I might b
Do you have a mail server running?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
If I were you I'd have a file just to define those kind of values (ie.
config.php), wich would be included as needed.
On 8/17/05, Mark Rees <[EMAIL PROTECTED]> wrote:
> "Jesús Alain Rodríguez Santos" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > Hi, I have in a php page one (
Apache already has that feature.
It's a directive in .htaccess, IIRC.
On 8/14/05, jenny mathew <[EMAIL PROTECTED]> wrote:
> hello,
> i want to protect a directory using php username and password
> authentication.the username and passwords will be stored in .htpasswd
> file.but the problem is that
On Tue, 2005-08-02 at 15:09 +0100, Stut wrote:
> André Medeiros wrote:
> > Do like some services do:
> >
> > 1) Check if script.pid exists
> > 2) If it doesn't
> > 2.1) Write the process's PID onto the file
> > (http://pt.php.net/manual/en/func
On Tue, 2005-08-02 at 09:49 -0400, Jim Moseby wrote:
> I have a command line script that needs to run continuously, and so I plan
> to have cron execute it every so often. I want to have the script first
> check to see if another instance is already running and, if so, die().
>
> Now, I know I ca
Shit shit shit!!! I completelly forgot!
#!/usr/local/bin/php -q
Notice the -q, it's important.
Sorry :(
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
You might want to read up on this:
http://en.wikipedia.org/wiki/Magic_number_%28programming%29
On 7/30/05, Sebastian <[EMAIL PROTECTED]> wrote:
> i know i shouldn't rely on mime types for file verification but anyways..
>
> I use application/zip which works fine on firefox and only allows zips..
You can "cron" the script to run.
Do the following:
1) Add #!/usr/bin/php as the first line on your .php file. If
/usr/bin/php isn't where your php binary lives, type "whereis php" to
find out
2) Make sure you chmod +x your php script.
3) http://www.linuxforums.org/tutorials/1/tutorial-4017.html
Either what Kris says, or you can use a templating engine.
See Smarty (http://smarty.php.net)
On 7/29/05, Kristen G. Thorson <[EMAIL PROTECTED]> wrote:
> Is there a particular reason you need *PHP* in the database? If not,
> then use a placeholder system of some sort ( like #var# ) and str_repla
if( mysql_num_rows( $query_r ) > 0 ) {
while( $currentResult = mysql_fetch_array( $query_r ) ) {
// do something with the result.
}
}
else {
echo 'No results.';
}
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/un
On Fri, 2005-07-29 at 14:47 +0200, Michelle Konzack wrote:
> Please no CC, I am on the list.
>
> Am 2005-07-29 14:20:47, schrieb André Medeiros:
> > Why not using a rewrite rule that would point to an index.php or
> > somesuch?
>
> And then ?
> I have e.g. 8x6 c
Why not using a rewrite rule that would point to an index.php or
somesuch?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
When deppending on authentication, never link the files directly.
You can create a download.php file that gets an ID through the URL,
checks if the user is authenticated and then read the file.
You will need these functions:
http://pt.php.net/file_get_contents
http://pt.php.net/header
Header()
Try looking into IIS's error log. There might be something useful there.
When, for some reason, this happens in apache, for instance, the error
log tells you what went wrong (missing simbol, missing lib, whatever).
Good luck!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, vis
On Thu, 2005-07-28 at 12:30 -0700, Tomás Rodriguez Orta wrote:
> Hello friends.
>
> How Can I send mail from php in HTML format?.
> I use the mail() function, but I dont know doing.somebody can I help me?
>
>
> Best regards TOMAS
>
>
> --
The point of sessions is that when you close your browser, you loose it.
I'm affraid that if you want sessions that last two weeks, you'll have
to make your own session handler :) but yeah, it's possible, and it
beats the crap out of the "fill form, store in db, fill form, store in
db" method.
--
On Thu, 2005-07-28 at 14:41 +0200, Jochem Maas wrote:
> André Medeiros wrote:
> > On Wed, 2005-07-27 at 17:17 -0400, Sebastian wrote:
> >
> >>i never really used constants before so this may sound stupid..
> >>when you define a constant using define() and want
On Thu, 2005-07-28 at 19:45 +0800, Jason Wong wrote:
> On Thursday 28 July 2005 01:50, André Medeiros wrote:
>
> > You can have four words to describe a first and last name... you can
> > have other alphabets, like arabian, chinese, etc... inserting accented
> > characters
On Thu, 2005-07-28 at 12:45 +0100, Marcus Bointon wrote:
> On 28 Jul 2005, at 12:07, André Medeiros wrote:
>
> > On Thu, 2005-07-28 at 11:08 +0200, marc serra wrote:
> >
> >> Hi, i want to know if it is possible to create a function and declare
> >> tha
On Wed, 2005-07-27 at 17:17 -0400, Sebastian wrote:
> i never really used constants before so this may sound stupid..
> when you define a constant using define() and want to return true/false
> is this logical:
>
> if($bars == 3)
> {
> define('BAR', 1);
> }
>
> then:
>
> if(BAR)
> {
> /
On Thu, 2005-07-28 at 11:08 +0200, marc serra wrote:
> Hi, i want to know if it is possible to create a function and declare
> that one of its arguments is array type.
>
> In fact i want to do something like this
>
> function test(String $litteral, array $foo){
> .
> }
>
> I got an erro
On Wed, 2005-07-27 at 12:30 -0400, John Nichel wrote:
> André Medeiros wrote:
> > On Wed, 2005-07-27 at 11:55 -0400, John Nichel wrote:
> >
> >>André Medeiros wrote:
> >>
> >>>That's not very nice of you, saying that to people who try
On Wed, 2005-07-27 at 11:55 -0400, John Nichel wrote:
> André Medeiros wrote:
> > That's not very nice of you, saying that to people who try to help ;)
> >
> > if( strpos( $_POST['frmName'], ' ' ) === false ) {
> > // Do e
On Wed, 2005-07-27 at 11:41 -0400, Mike Johnson wrote:
> From: André Medeiros [mailto:[EMAIL PROTECTED]
>
> > On Wed, 2005-07-27 at 16:16 +0100, Mark Rees wrote:
> >
> > > Or even four - like Rafael van der Vaart for example - so
> > make sure that the
> &g
On Wed, 2005-07-27 at 16:16 +0100, Mark Rees wrote:
> "André Medeiros" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > On Wed, 2005-07-27 at 15:27 +0100, Steve Turnbull wrote:
> > > Hi
> > >
> > > I want to see that a
On Wed, 2005-07-27 at 15:27 +0100, Steve Turnbull wrote:
> Hi
>
> I want to see that a user is submiting a form field in the correct manner.
> So I decided to use preg_match to verify their input.
>
> The pattern I am trying to match is;
>
> Firstname Secondname
>
> I am not bothered about char
On Wed, 2005-07-27 at 15:27 +0100, Steve Turnbull wrote:
> Hi
>
> I want to see that a user is submiting a form field in the correct manner.
> So I decided to use preg_match to verify their input.
>
> The pattern I am trying to match is;
>
> Firstname Secondname
>
> I am not bothered about char
On Wed, 2005-07-27 at 15:14 +0200, Daniele Palumbo wrote:
> hi.
>
> i have a p_debug(), that print out some useful information (for me).
>
> it is called by a lot of my functions, and i want to know which one is
> generating the error.
> the referral function :)
>
> no, i don't want to write in
On Wed, 2005-07-27 at 07:51 -0400, Jack Jackson wrote:
> Hi,
> I have searched the archives and seen links to tutorials at phpclasses
> (which seem to be down) and not found an answer to my question:
> I have a long form I want to break into seven pages. Rather than pass
> values from page to pag
You would actually only need Zend Studio Client.
It's the best PHP IDE i've ever tried (and believe me, i've been around ;)
On 7/26/05, Taksam <[EMAIL PROTECTED]> wrote:
> Hi everybody, I am learning PHP, and have this very basic question:
>
> What software/tools I need to begin?
> What is the b
On Tue, 2005-07-26 at 09:28 -0400, Krypto 76 wrote:
> I want to write a j2me midlet that displays a story headline and
> description. This is working great.
> However I want to write a php script that I can hit the url/page of
> the full story with then pull all of the stories text and remove all
>
On Tue, 2005-07-26 at 13:39 +0100, Mark Rees wrote:
> "André Medeiros" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > One thing I didn't quite explain myself well... I'm building this to
> > register objects on a permission system.
>
On Tue, 2005-07-26 at 13:47 +0100, Tom Chubb wrote:
> This seems really silly, but I can't find a way of doing it!
> How can I play/stream an audio file, that may be upto an hour long and
> keep it playing while visitors view other pages?
> Is it possible to use sessions so that the file will conti
You're missing the point here. I know how to get the parent project's
info. I know recursiveness. I _JUST_ don't know how to get the current
and parent project's info in just ONE QUERY (since I'm trying to save
them because the sql weight is getting pretty heavy).
--
PHP General Mailing List (htt
One thing I didn't quite explain myself well... I'm building this to
register objects on a permission system.
The SQL weight is heavy as it is, and I want to save queries as much as
possible. Making two queries to extract information about a project and
it's parent is not something I'd want to do.
ill overwrite the object's properties).
If not... heck, I'll have to make another query or use the associative
array sollution (wich neither will make me very happy, but that's life).
Thanks for your prompt reply :)
>
> C.
> -Original Message-
> From: An
Hi guys.
I'm having some trouble here regarding a project. I have a table with
projects, wich can be recursive (ie. sub-projects) and it is related to
itself.
By making the following query
-8<--
SELECT * FROM projects LEFT JOIN projects proj_parent ON
Or that... :P
On 7/24/05, Joe Wollard <[EMAIL PROTECTED]> wrote:
> As always, look for someone else's existing project and see how they
> did it. ;-)
>
> http://phpsysinfo.sourceforge.net/
>
> Good Luck!
> -Joe
>
> On Jul 23, 2005, at 9:25 AM, André Me
First of all, you want to have the two values in seperate variables.
After reading the contents from the file, do something like:
-8<-
function parseUptimeSeconds( $seconds ) {
$resultArray = Array( 'weeks' =>
Given it's a fatal error, it's as bad as a syntax error. It cancels
everything it's doing and leaves.
Remember that, even the shutdown function has to obey the time limit.
On 7/22/05, Liang ZHONG <[EMAIL PROTECTED]> wrote:
>
> set_time_limit(0);
> function f(){
> $count=1000;
>
On Thu, 2005-07-21 at 13:37 -0700, Dan Trainor wrote:
> Hello, all -
>
> I've been looking around for a function that would tell me if a $value
> in a $key=>$value array was empty, and I could not find one. So I
> decided to make my own. Even if I am re-inventing the wheel, I thought
> that the
Try http://phpmailer.sourceforge.net/
Works awesomelly great. I've been using it for quite some time now, and
I don't want to look at mail() again :)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Thu, 2005-07-21 at 12:10 +0200, Steven wrote:
> Is there any way for me to use php to make my windows xp pc connect to
> the internet, either by starting the windows dialer or by some other
> means? The windows machine uses a standard 56k dialup to connect to the
> internet.
>
> Thanks
> St
On Thu, 2005-07-21 at 12:10 +0200, Steven wrote:
> Is there any way for me to use php to make my windows xp pc connect to
> the internet, either by starting the windows dialer or by some other
> means? The windows machine uses a standard 56k dialup to connect to the
> internet.
>
> Thanks
> St
On Wed, 2005-07-20 at 10:21 -0500, Chuck Carson wrote:
> Is anyone here using php 5.0.4 on Solaris 9 and compiled with Oracle
> 10g support and using apache 2.0.54? I have looked at every 10 times
> over. I have built php with oracle support probably 100 times on 5
> different platforms and never h
On Tue, 2005-07-19 at 17:57 +0100, Mikey wrote:
> George B wrote:
>
> > Paul Waring wrote:
> >
> >> On Tue, Jul 19, 2005 at 09:39:21AM -0700, George B wrote:
> >>
> >>> And I have 100 points. How would I make it so when I click BUY!! My
> >>> money automaticaly subtracts from 100 to 90. How do I
On Tue, 2005-07-19 at 17:46 +0100, Shaw, Chris - Accenture wrote:
> Taxi for one..
>
> -Original Message-
> From: George B [mailto:[EMAIL PROTECTED]
> Sent: 19 July 2005 17:39
> To: php-general@lists.php.net
> Subject: [PHP] My Project
>
>
> Hey guys! This is gona be one of my last quest
I did something like that for a newsletter sending script. Basiclly, I
had two scripts:
a) AddEdit.php that would list the newsletter's items and allow it to send
b) Send.php that was a script I ran on the background
When pressed "Send" on AddEdit, it would do something like
$tempName = tempnam(
t;[EMAIL PROTECTED]> wrote:
> Al wrote:
> > André Medeiros wrote:
> >
> >> 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
What about...
Database Host:
Database User:
And then...
$parentConfigValue ) {
if( is_array( $parentConfigValue ) {
foreach( $parentConfigValue as $childConfigKey =>
$childConfigValue )
{
$fileCode .=
"$config['$parentConfigKey']['$chil
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
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
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
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).
cified in ww.php.net:
> http://www.boutell.com/gd/. However, the site says that gd should be
> supported out of the box. I am going to try and find the rpm for
> php-4.3.11 and reinstall it.
>
> Todd
>
> André Medeiros wrote:
> > On Fri, 2005-07-15 at 07:25 -0700, Todd Cary wro
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é Medeiro
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é
--
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.
Since there was no reference to that on the PHP manual, I thought about
mentioning it just to be safe.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Tue, 2005-07-12 at 12:38 -0400, John Nichel wrote:
> Sebastian wrote:
>
> > it doesnt seem to work on IE or Firefox.. two of the most popular
> > browsers..
> > this shoudn't even be in the manual then because if it doesnt work for
> > these two browsers then i would consider it pointless to
Please, PLEASE "Reply to All"!
Yes, you have to add something like
--8<-
while(true) {
// code here
if( $someConditionThatWillMakeMeExit ) {
break;
}
sleep(1); // to prevent excessive processor
On Tue, 2005-07-12 at 11:35 -0400, Sebastian wrote:
> Each time i try setting MAX_FILE_SIZE in a form and using the upload
> error code to check if the file is large it always uploads the entire
> file before showing the error that the file is too big.. either the
> manual is incorrect or this d
On Tue, 2005-07-12 at 09:58 -0500, Greg Donald wrote:
> On 7/12/05, daro <[EMAIL PROTECTED]> wrote:
> > I don't know where should I put this script to be able to receive all
> > datas and respond
> > with proper strings.
>
> You would run the script as a shell script from the command line.
>
>
On Tue, 2005-07-12 at 16:49 +0200, daro wrote:
> Hi.
> I'm writing a TCP/IP server and client.
> On your website I found ready php script http://pl2.php.net/sockets but I
> have a question.
>
> For TCP/IP server the example script from your website has to be put on
> server as index.php file an
he XML code into a string, just parse it. There are
hundreds of classes on phpclasses.org. Just take a pick :)
I hope this was helpful. If you need me to explain something more
thoroughly, let me know.
Good luck :)
On 7/11/05, Chris W. Parker <[EMAIL PROTECTED]> wrote:
> André Medeiros &l
What about using web-services (something ala xml?). Could that be
considered an option?
On 7/11/05, Brad Pauly <[EMAIL PROTECTED]> wrote:
> On 7/8/05, Chris W. Parker <[EMAIL PROTECTED]> wrote:
>
> > Which option should I go for? Is there another option I'm not
> > considering?
>
> Another possi
On Mon, 2005-07-11 at 16:44 +0200, Alessandro Rosa wrote:
> Is there the possibility to have in PHP multiple class constructors
> as in C++ or just one ?
> I would be sure about it in order to prevent useless mad investigations
> in the code I'm writing.
>
> Thanks in advance ...
>
> Alessandro R
1 - 100 of 115 matches
Mail list logo