Pastor Steve escribió:
Greetings,
I am getting an error when I am trying to upload a PDF file through a
script.
When I do a print_r($_FILES) I get the following:
Array
(
[userfile] => Array
(
[name] => document.pdf
[type] =>
[tmp_name] =>
Jochem Maas escribió:
Martin Marques schreef:
Nathan Nobbe escribió:
On Feb 6, 2008 6:13 AM, Martin Marques <[EMAIL PROTECTED]>
wrote:
I got an update from tzdata on a Debian server due to a daylight saving
change here in Argentina.
I doubt that debian stable is pushing newer versi
Richard escribió:
Hello, I don't know if this is possible with PHP alone but this is what
I'm trying to do :
My script would check say for example 10 or 20 different http:// site
addresses and collect some text from each page.
My problem is that it takes quite a long time to query so many si
Nathan Nobbe escribió:
On Feb 6, 2008 12:13 PM, Martin Marques <[EMAIL PROTECTED]> wrote:
see what you have as the value for the date.timezone ini setting.
I've already checked that, and it's not set.
then you should probly set it ;)
It has the right TZ set. I
Nathan Nobbe escribió:
On Feb 6, 2008 6:13 AM, Martin Marques <[EMAIL PROTECTED]> wrote:
I got an update from tzdata on a Debian server due to a daylight saving
change here in Argentina.
The problem is that, even when the system sees the correct time, php
keeps giving me the *old
I got an update from tzdata on a Debian server due to a daylight saving
change here in Argentina.
The problem is that, even when the system sees the correct time, php
keeps giving me the *old* hour.
$ date
mié feb 6 09:03:57 ARST 2008
$ echo ""|php5
08:04
What can my problem be?
BTW, I di
Lisa A escribió:
> Does anyone know of an image gallery I can use on multiple pages of a
> website. I'd like to be able to click on the thumbnails and see a larger
> image.
> Hopefully something simple and easy to install.
gallery2
--
PHP General Mailing List (http://www.php.net/)
To unsubscr
David Zentgraf escribió:
Hi,
I'm trying to upgrade a server running CentOS 3 to an up-to-date MySQL 5
installation + PHP4. I installed the MySQL 5 package, server and client,
via RPMs and they work fine, the client tells me it's version 5.0.45. I
went on to recompile PHP 4.4.7 --with-mysql, b
tedd wrote:
Hi gang:
I would like to run a php script that creates a web page and AFTER it is
finished creating the page, then it runs another php script -- how you
do that?
CLI or apache2 module?
--
21:50:04 up 2 days, 9:07, 0 users, load average: 0.92, 0.37, 0.18
-
I'm redefining constant values and get notices on my log files:
[18-Oct-2007 16:01:37] PHP Notice: Constant FPDF_FONTPATH already
defined in /usr/share/php/tcpdf/config/tcpdf_config.php on line 50
How can I re-define them without getting notice messages?
--
21:50:04 up 2 days, 9:07, 0 use
[EMAIL PROTECTED] wrote:
I have a company table and a contacts table. In the contacts table, there
is a field called "companyID" which is a link to a row in the company table.
What is the easiest way to query the company table for all the company rows
whose ID is NOT linked to in the contac
Paul Scott wrote:
On Thu, 2007-09-20 at 08:03 -0400, Robert Cummings wrote:
Post some samples of the data you are parsing and a sample of the code
you've written to parse them. If you're parsing 750 megs of data then
it's quite likely you could squeeze some performance out of the parse
routines
Robert Cummings wrote:
On Thu, 2007-09-20 at 13:55 +0200, Paul Scott wrote:
On Thu, 2007-09-20 at 12:50 +0100, Edward Kay wrote:
In addition to Martin's good suggestions (and also assuming you're running
php-cli via cron), you could use nice to stop it consuming too many
resources:
This is the
Paul Scott wrote:
I have a very large text file that gets dumped into a directoory every
now and then. It is typically around 750MB long, at least, and my
question is:
What is the best method to parse this thing and insert the data into a
postgres db?
I have tried using file(), fget*() and some
Zbigniew Szalbot wrote:
Hi there,
No, basically I just use wordpress on this site and that's all. No
fancy or advanced scripting, etc. It is family machine for family
issues. I can try and go back to v4 but I do think v5 should work just
as fine. At least I hope so.
Does phpinfo work? What doe
Stut wrote:
Wagner Garcia Campagner wrote:
header('Location: index.php');
Although technically speaking that should be an absolute URL.
AFAIK, they are both equivalent.
--
21:50:04 up 2 days, 9:07, 0 users, load average: 0.92, 0.37, 0.18
--
Richard Lynch wrote:
On Sun, August 12, 2007 2:35 am, Alain Roger wrote:
I'm getting an error message when i run the following SQL request :
$sql = "INSERT INTO tmp_importedxls (rec_id, publisher) VALUES (SELECT
nextval('tmp_importedxls_rec_id_seq'),'$pb')";
Error in SQL query: ERROR: syntax er
Alain Roger wrote:
Hi,
I'm getting an error message when i run the following SQL request :
$sql = "INSERT INTO tmp_importedxls (rec_id, publisher) VALUES (SELECT
nextval('tmp_importedxls_rec_id_seq'),'$pb')";
Error in SQL query: ERROR: syntax error at or near "SELECT" LINE 2: VALUES
(SELECT nex
Alain Roger wrote:
Hi,
I import a csv file (which includes characters from "windows-1250" charset)
to postgreSQL database which is in UTF-8.
How can i convert windows-1250 to utf-8 charset ?
This is a PostgreSQL question.
Check client_encoding and server_encoding.
--
21:50:04 up 2 days, 9:
Stut wrote:
Martin Marques wrote:
I have a script which I run from cron. I'm testing it directly from
the console:
/usr/bin/php -f /path/to/script.php
The thing is:
Script executes great, and everything it has to do gets done, but it
throughs a segmentation fault at the end.
Is
I have a script which I run from cron. I'm testing it directly from the
console:
/usr/bin/php -f /path/to/script.php
The thing is:
Script executes great, and everything it has to do gets done, but it
throughs a segmentation fault at the end.
Is there anyway to debug PHP CLI? I'm using php5
Crayon Shin Chan wrote:
On Friday 15 June 2007 04:09, Martin Marques wrote:
Using PHP 5.2.0 and I get this error:
Fatal error: Call to undefined function mb_list_encodings_alias_names()
in /home/martin/prueba.php on line 3
But mb_list_encodings() works like a charm. What's wrong?
Using PHP 5.2.0 and I get this error:
Fatal error: Call to undefined function mb_list_encodings_alias_names()
in /home/martin/prueba.php on line 3
But mb_list_encodings() works like a charm. What's wrong?
--
21:50:04 up 2 days, 9:07, 0 users, load average: 0.92, 0.37, 0.18
---
Is there something like the UNIX command "file -i" to know the charset
of a file? I don't want to use a system call, so I was wondering if
there was some predefined function in PHP.
P.D.: I'm using PHP 5.2.0
--
21:50:04 up 2 days, 9:07, 0 users, load average: 0.92, 0.37, 0.18
-
Brad Sumrall wrote:
I got 5 IP breaking Federal Regulations.
Hehehehe
Do you think you are not being logged?
Yeah, and I bet those IP are from Kathmandu. :-D
--
21:50:04 up 2 days, 9:07, 0 users, load average: 0.92, 0.37, 0.18
-
L
Greg Donald escribió:
On 5/9/07, bruce <[EMAIL PROTECTED]> wrote:
from my reading.. i thought yahoo's user interface (yui) components where
for interfacing with yahoo am i missing something here??
Yes. :)
The Yahoo! User Interface (YUI) Library is a set of utilities and
controls, written
Stut escribió:
As with most things these days it probably breaches the DMCA. But
frankly speaking, if doing that works then the developers of the
application, and by extension the company, deserve everything they get.
DMCA is a real piece of crap.
--
select 'mmarques' || '@' || 'unl.edu.ar' A
Tijnema ! escribió:
Who said firefox is legal? :P
I believe that what firefox can do is limited, some things that are
illegal are not possible. I don't know exactly what's illegal, i
searched for it a few years ago, and that's what i found then.
Explain how it would be illegal to modify cooki
Davi escribió:
Sessions are stored in the temporary's server folder... So... If I known my
session ID and where it's stored, I can do something...
Have you tried it? I mean, as a non-root, non-apache user. :-P
--
select 'mmarques' || '@' || 'unl.edu.ar' AS email;
-
Tijnema ! escribió:
On 4/9/07, Martin Marques wrote:
So what? The user authenticated himself, so what is he gonna crack?
Yes, but i guess you're not only storing if the user has
authenticated, also storing a username?
And if that's not the case, then you could authenticate by
Tijnema ! escribió:
On 4/9/07, Martin Marques wrote:
Yes:
Don't use transparent session id, or even better, save the
authentication in a cookie on the client (seperated from the session
array).
And then the user would crack the cookie
I know they are encrypted, but trust me, co
Ben Liu escribió:
What's the prescribed method for redirecting a user forcibly to from the
non-SSL secured version of a page to the SSL-secured version? Is this
handled at the web server level or at the script level. I found this by
googling:
This should be done with the rewrite instruction o
Ólafur Waage escribió:
Lets say i have a login system. This system authenticates the user via
mysql, when the user is authenticated, i set a session variable to let the
system know the user is authenticated. ie. $_SESSION["authenticated"] =
true;
Lets also say i know that's how the system works,
On Tue, 27 Mar 2007, Mario Guenterberg wrote:
Hi...
I try to connect in the last hours and the results are timeouts.
Excelent connection here.
--
21:50:04 up 2 days, 9:07, 0 users, load average: 0.92, 0.37, 0.18
-
Lic. Martín Marqué
On Mon, 19 Mar 2007, Richard Lynch wrote:
The MySQL developers spent a zillion hours making the LAST_INSERT_ID()
function be tied to YOUR database connection.
You get *your* LAST_INSERT_ID(), not some random one from some other
database connection.
That's why http://php.net/mysql_insert_id ta
On Sat, 17 Mar 2007, Wasantha De Silva wrote:
Dear all,
I want get a help from you for some php codes.
Use google. There is plenty of code out there.
--
21:50:04 up 2 days, 9:07, 0 users, load average: 0.92, 0.37, 0.18
-
Lic. Martí
Dani Dws escribió:
I just want to know if the mail function works from a localhost (local
server)?
I've checked my php.ini all the setting are right but the mail function
is not sending any mail, any idea?
How are you using it?
--
select 'mmarques' || '@' || 'unl.edu.ar' AS email;
-
bruce escribió:
Hi...
I know this is off topic.. I'm looking for a good Ajax Mailing list for Ajax
discussions. I've seen a few via google, but not alot of traffic.
Best I know of are the Mozilla JavaScript and DOM mailling lists.
There's an AJAX list, but I mainly use the JS one:
https://l
Vieri escribió:
Hi
The following code:
Change here:
echo "A = " . (int)$a;
--
select 'mmarques' || '@' || 'unl.edu.ar' AS email;
-
Martín Marqués | Programador, DBA
Centro de Telemática| Administrador
Robert Cummings escribió:
On Mon, 2007-03-12 at 14:18 -0300, Martin Marques wrote:
But it was quite crappy.
Don't blame the tool. I've never had a problem with the amount of OOP
support in PHP4.
That's just taste. I started feeling very comfortable when I got to us
Robert Cummings escribió:
On Mon, 2007-03-12 at 10:21 +0200, Haydar Tuna wrote:
Hello,
Most important change is Object Oriented Features. PHP 5 support
Object Oriented programming features.
I think you mean supports "more" OOP features. PHP4 had plenty of OOP
support also.
But it wa
tedd escribió:
At 8:14 AM +0800 3/12/07, [EMAIL PROTECTED] wrote:
Dear All,
What different between 4 and 5 ?
Edward.
1
No! -1 :-D
Unless we are talkaing about absolute difference (distance between).
--
select 'mmarques' || '@' || 'unl.edu.ar' AS email;
--
Tijnema ! wrote:
Hi,
Is there any way i can limit the transfer speed when using CURL?
I'm uploading a file to a server, and i don't want the script to f***
up all
bandwidth.
man renice
P.D.: This is not a PHP question.
--
21:50:04 up 2 days, 9:07, 0 users, load average: 0.92, 0.37,
Don Don escribió:
Hi all, i am building a system using php and am trying to separate the html
codes from the php codes (i.e. placing them in separate files), I am from the
java struts/spring background and seem to be finding it difficult doing that at
the moment with php.
I've got a regi
Tijnema ! escribió:
On 3/7/07, Bruce Gilbert <[EMAIL PROTECTED]> wrote:
I just need to add code to print something different, say "foo" if the
output is a multiple of 5 or 10 for example. How do I go about doing
this?
I've seen that question a lot, what i use is fairly simple
if( intval($numb
Robert Cummings escribió:
On Mon, 2007-03-05 at 14:48 -0500, markw@mohawksoft.com wrote:
Yea, and 1+1 = what ever the engineer or the business requirements want it
to be, right?
Once again it depends. What base are we working in? Are we working in
some kind of odd algebraic space? 1+1 only eq
On Sat, 3 Mar 2007, steve wrote:
Also, when you hit the 1024 image limit you have to think about
directory schema to store the images, as the linux filesystem (and also
on other 32 bit systems) will start getting slow, until things like ls
will just give you an error.
We have a system (I didn't
Robert Cummings escribió:
On Sat, 2007-03-03 at 11:02 +0100, Alain Roger wrote:
I know how to do that for 1 picture. But i want to display the pictures as
thumbnail... so several pictures on the same PHP pages, with some texts.
therefore, your solution does not correspond to what i need.
You n
Alain Roger wrote:
Hi,
It's amazing that my previous post has raised so much consideration about
the fact to store or not pictures into DB.
It was nice, wasn't it? :-D
However, none of those posts answered to my question... How can i retrieve
and display those pictures to my PHP pages ?
??
steve wrote:
As a newbie, is storing an image in a dB a "good" thing or a "bad" thing?
I tend to go with "depends". We actually store files in a DB in
development, as those machines are separate from the grid. Since some
are windows, linux, and MacOS, it is far easier to store in a DB than
ha
Is it posible to run apache with PHP4 and PHP5 on different virtual
domains?
--
21:50:04 up 2 days, 9:07, 0 users, load average: 0.92, 0.37, 0.18
-
Lic. Martín Marqués | SELECT 'mmarques' ||
Centro de Telemática|
On Thu, 15 Feb 2007, Ashish Rizal wrote:
You need to put a session_commit(); here, so session gets writen.
header("Location: $adminAddress");
exit();
}
--
21:50:04 up 2 days, 9:07, 0 users, load average: 0.92, 0.37, 0.18
-
Lic. M
barophobia escribió:
Hi!
I was thinking about asking for recommendations for a lightweight database
class. But I realized I hadn't thought much about what my requirements are
so I decided instead to ask the list to critique my own class. I don't need
anything as robust as ADOdb and I always use
On Thu, 21 Dec 2006, Kevin Murphy wrote:
I'm wondering why this is.
$data = "";
$array = explode(",",$data);
$count = count($array);
$count will = 1
$array has 1 element: An empty string.
$data = "Test";
$array = explode(",",$data);
$count = count($array);
$count will = 1
$array has 1 ele
On Fri, 24 Nov 2006 13:41:59 -0600 (CST), "Richard Lynch" <[EMAIL PROTECTED]>
wrote:
> On Fri, November 24, 2006 1:21 pm, Martin Marques wrote:
>> I have a daemon class which reads and answers using socket_read and
>> socket_write functions. The things is that I c
I have a daemon class which reads and answers using socket_read and
socket_write functions. The things is that I connect to the daemon,
sent a chain and the I get an answer, but after that the daemon get's
struck in the next socket_read.
The problem appears to be here (a method from my class).
On Mon, 2 Oct 2006, David Tulloh wrote:
Martin Marques wrote:
Does anyone have an idea on when PDO is going to be available in Debian?
not a clue...
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=348882
Saw that already yesterday, but it's from the begining of this year. It&
Does anyone have an idea on when PDO is going to be available in Debian?
--
21:50:04 up 2 days, 9:07, 0 users, load average: 0.92, 0.37, 0.18
-
Lic. Martín Marqués | SELECT 'mmarques' ||
Centro de Telemática| '@'
On Mon, 2 Oct 2006, Peter Lauri wrote:
Are there any AJAX supporting client?
RoundCube webmail, but it's in development still.
--
21:50:04 up 2 days, 9:07, 0 users, load average: 0.92, 0.37, 0.18
-
Lic. Martín Marqués | SEL
On Thu, 28 Sep 2006, Curt Zirzow wrote:
On 9/28/06, Google Kreme <[EMAIL PROTECTED]> wrote:
On 28 Sep 2006, at 14:30 , Curt Zirzow wrote:
> If you can, set this on a per directory setting in your virtualhost
> setting within a or , instead of turning on
> .htaccess.
Er... why? So you have to
yOn Thu, 28 Sep 2006, Curt Zirzow wrote:
On 9/28/06, Martin Marques wrote:
I'm trying helplessly to get session.use_trans_sid to true in one
directory that needs it. So I put this in an .htaccess file:
php_value session.use_trans_sid 1
The thing is, it didn't work. I also tried
I'm trying helplessly to get session.use_trans_sid to true in one
directory that needs it. So I put this in an .htaccess file:
php_value session.use_trans_sid 1
The thing is, it didn't work. I also tried changing 1 to On with no luck
at all.
Ideas are welcome.
--
21:50:04 up 2 days, 9:07,
On Fri, 22 Sep 2006 20:15:49 -0400, "Chris Boget" <[EMAIL PROTECTED]> wrote:
>> http://us2.php.net/class
>
> Any particular place on that page I should be looking? I've read it
> several
> times and didn't see anything like the above. The closest thing I saw
> were
> actual methods called setBo
On Thu, 21 Sep 2006 17:13:44 -0400, Anna Barnes <[EMAIL PROTECTED]> wrote:
>
> and the error_log file says
>
> [Tue Sep 19 15:53:57 2006] [error] PHP Fatal error: Maximum execution
> time of 60 seconds exceeded in /websites/ical/functions/
> ical_parser.php on line 494
What is there in line 494
On Thu, 14 Sep 2006, Miguel Vaz wrote:
I thought about having a simple php local file that would include my
files that are hosted someplace else, and therefor be able to access my local
database, would that be possible? My first thought would probably be no, but
i cant really do any tests r
On Sat, 09 Sep 2006 08:55:35 -0500, Christopher Weldon <[EMAIL PROTECTED]>
wrote:
>
> class myClass {
> private var $_001;
> private var $_002;
> private var $_003;
>
> public function access_var($var) {
> return $this->$$var;
> }
> }
>
> $cs = new m
On Tue, 5 Sep 2006, Gustav Wiberg wrote:
I want to save this to a string...
var uri = 'http://impse.tradedoubler.com/imp/img/16352388/1122503?' + new
String (Math.random()).substring (2, 11
On Fri, 01 Sep 2006 18:35:45 -0400, Robert Cummings <[EMAIL PROTECTED]> wrote:
> On Fri, 2006-09-01 at 19:30 -0300, Martin Marques wrote:
>>
>> Now, each time the system gets executed, I get this in my php
>> error log:
>>
>> PHP Fatal error: Call to a memb
I'm buidling a system in OOP, and I have a main clase which
objects in it. One of the objects inside is of type
HTML_Template_IT, which I use to handle presentation tier.
Now, each time the system gets executed, I get this in my php
error log:
PHP Fatal error: Call to a member function get()
On Wed, 30 Aug 2006, Curt Zirzow wrote:
On 8/29/06, Martin Marques wrote:
Simple question:
Is there a built-in function in PHP to get the charset of a file, so that
I can pass the right parameters to recode_file()?
It depends.
If it is a .txt file (nope)
a .doc file (mabey, pending the
Simple question:
Is there a built-in function in PHP to get the charset of a file, so that
I can pass the right parameters to recode_file()?
--
21:50:04 up 2 days, 9:07, 0 users, load average: 0.92, 0.37, 0.18
-
Lic. Martín Marqués
I' trying to include files from a script which will be executed from CLI via
cron.
Now, if I execute the script from the command line it works OK, but when it's
executed via cron I fails to include a file, which is being included via and
include from the script. It looks like when including a
On Thu, 20 Jul 2006, Robert Cummings wrote:
On Thu, 2006-07-20 at 17:09, John Nichel wrote:
Adam Zey wrote:
Note that just because the fact that it works is a feature, doesn't mean
it's good coding style. register globals is a feature too, but it isn't
exactly a good idea to use it.
Ding d
On Thu, 20 Jul 2006, Adam Zey wrote:
Jochem Maas wrote:
Robert Cummings wrote:
I don't understand - the links point to posts by Rasmus saying that's
'beneficial' - seems to me to be a fairly robust endorsement yet you
consider leaving off trailing '?>' wrong (and use Rasmus' comments to
back
On Thu, 20 Jul 2006, Stephen Lake wrote:
As far as getting the header error resolved, try this:
http://ca3.php.net/manual/en/function.ob-start.php
I'll stick with not closing my scripts, just like Rasmus said. :-)
--
21:50:04 up 2 days, 9:07, 0 users, load average: 0.92, 0.37, 0.18
--
On Thu, 20 Jul 2006 13:06:10 -0400, Robert Cummings <[EMAIL PROTECTED]> wrote:
> On Thu, 2006-07-20 at 12:12, Adam Zey wrote:
>> Martin Marques wrote:
>> > Now, my question is: Is it a bad practice to "NOT" close the script
>> with
>> > th
On Thu, 20 Jul 2006 11:30:14 -0400, John Nichel <[EMAIL PROTECTED]> wrote:
> Jochem Maas wrote:
>>
>> I never add the final closing '?>' in any script for this very reason.
>>
>
> 'Cause you're a SLACKER!!!
What the hell is a SLACKER???
--
---
I'm looking for an opinion on programming style.
Basicaly, I make systems using PEAR::DB and PEAR::HTML_Template_IT. This
last one puts all the HTML away from the PHP code, which has made life
much easier.
Now, sometimes I warning messages like this one:
PHP Warning: Cannot modify header in
On Thu, 6 Jul 2006, chris smith wrote:
Have you tried this handler with something more fatal, like a missing
semi-colon or a } missmatch?
That will cause a parse error and the script won't even run.
You're right. My wrong. :-(
--
21:50:04 up 2 days, 9:07, 0 users, load average: 0.92, 0
On Wed, 5 Jul 2006, [EMAIL PROTECTED] wrote:
Hello all,
According to the PHP Manual, when require or require_once failes, an
E_ERROR is triggered: "require() and include() are identical in every way
except how they handle failure. include() produces a Warning while
require() results in a Fata
On Thu, 6 Jul 2006, Juanjo Pascual wrote:
Hello,
I have a problem with the mail function when I send a mail with acents or Ñ
in the subject. When I receive the mail this caracters have been replaced by
X.
I'm using the mail function in this way:
mail([EMAIL PROTECTED], 'Consulta Señalítica
On Sat, 1 Jul 2006 07:03:54 -0700 (PDT), Ryan A <[EMAIL PROTECTED]> wrote:
>
>> Soccer... what's that?
>>
>> tedd
>
> Its a mis-spelling of two words taken out of context,
> its actually "sock her" and meant for Hillary Clinton
Actually, Hillary wasn't the one "sucking". ;-)
--
---
On Fri, 30 Jun 2006, KermodeBear wrote:
http://pear.php.net/package/DB/
This one has no more development, besides bug fixes. It was merged to
create the one below.
http://pear.php.net/package/MDB2/
--
21:50:04 up 2 days, 9:07, 0 users, load average: 0.92, 0.37, 0.18
-
On Fri, 30 Jun 2006, Jay Paulson wrote:
I'd like to get some feedback on what the list thinks is a good template
engine other than smarty.
PEARs HTML_Template_IT... or mix it with other HTML_Template*
I'd also like to do some quick prototyping using a PHP framework does anyone
have any recom
On Thu, 29 Jun 2006, Charlene Wroblewski wrote:
*joining the fray a little late*
What is the difference between this, Smarty and template.inc?
I have found Smarty to be unusable in my situation where a graphic designer
needs to be able to edit the html and is easily confused by non-html.
So
On Wed, 28 Jun 2006 12:28:43 -0400, tedd <[EMAIL PROTECTED]> wrote:
> At 8:32 AM -0300 6/28/06, Martin Marques wrote:
>>
>>Because it's a mess.
>>
>
> That's because it got out of hand. Now, practice the 3R's, regroup,
> rethink, and
On Wed, 28 Jun 2006, Ligaya Turmelle wrote:
Martin Marques wrote:
Why not try to use one of the template systems that already exist?
HTML_Template_IT, Smarty, etc.
Or just use PHP...
Because it's a mess.
--
21:50:04 up 2 days, 9:07, 0 users, load average: 0.92, 0.37,
Why not try to use one of the template systems that already exist?
HTML_Template_IT, Smarty, etc.
On Tue, 27 Jun 2006 10:22:42 +0300, sempsteen <[EMAIL PROTECTED]> wrote:
> hi, i'm working on a template system. Basically i'm building raw
> contents in arrays and then put them in templates by som
On Mon, 26 Jun 2006 19:10:59 +0100, Alex Major <[EMAIL PROTECTED]> wrote:
> Hi list.
> Basically, I'm still learning new things about php and I was wondering if
> things inside an if statement get 'looked at' by a script if the condition
> is false.
> For example, would this mysql query get execut
On Sat, 17 Jun 2006 09:55:05 -0400, tedd <[EMAIL PROTECTED]> wrote:
> At 8:52 AM -0300 6/17/06, Martin Marques wrote:
>>Yesterday when reading some doc on PHP I noticed the $_REQUEST predefined
> array, which looked like a solution to having to check in GET and POST data
>
On Sat, 17 Jun 2006 14:25:30 -0400, Ben Ramsey <[EMAIL PROTECTED]> wrote:
> On 6/17/06 9:30 AM, David Tulloh wrote:
>> Martin Marques wrote:
>>> Yesterday when reading some doc on PHP I noticed the $_REQUEST
>>> predefined array, which looked like a solution to
On Sat, 17 Jun 2006 15:01:23 +0200, "Satyam" <[EMAIL PROTECTED]> wrote:
> In general, user input should never be trusted. Someone once told me that
> if you ask for yes or no, you should always validate for yes, no and don't
> know (of course, this was before windowed environments where the users
Yesterday when reading some doc on PHP I noticed the $_REQUEST predefined
array, which looked like a solution to having to check in GET and POST
data (I'm not sure if it will really have an impact on my program yet).
The thing is, I also saw this description:
Variables provided to the script v
On Thu, 01 Jun 2006 13:06:24 -0600, John Meyer <[EMAIL PROTECTED]> wrote:
> Martin Marques wrote:
>> doesn't seem to get it right. Here is the HTML output:
>>
>>
>> Profesor titular
>> Profesor asociado
>> Profesor adjunto
>> Jefe de traba
Sorry for the OT, but this is PHP output anyway :-)
I have a bunch of code to input and modify data through an HTML form. When
I modify the options, some are in text, others
in textarea, and some are in select options. Now wat I did is make the
current value be the selected one, but my browser
On Mon, 22 May 2006, Richard Lynch wrote:
On Mon, May 22, 2006 11:25 am, [EMAIL PROTECTED] wrote:
After the form is submitted, some fields are filled with single and/or
double quote info (like: 1'2"x2'4", or sky's blue, or "cool" stuff).
I validate what I got using mysql_real_escape_string() an
On Mon, 22 May 2006, John Nichel wrote:
Brad Bonkoski wrote:
Looks good to me, just make sure you use:
http://www.php.net/manual/en/function.stripslashes.php
if you have to dump that information back to the users.
(you might want to check out: addslashes() to add the slashes before your
DB ins
A new version on PostgreSQL came out with a security SQL-injection hole
fixed. Reading the docs, I find that clients have to be rebuilt, and with
changes in regard to the use of the libpq library.
Is there going to be a new version of PHP4 and 5 to ajust to this?
Here is the data:
http://www.
On Tue, 16 May 2006, Richard Lynch wrote:
On Tue, May 16, 2006 6:27 am, Martin Marques wrote:
In the first daemon all I have to do to kill it is execute a
pkill server_name.
But with the new daemon (the object orientaded one) it doesn't die.
After you pkill it, does it still work?
Y
On Tue, 16 May 2006, Jad madi wrote:
Martin,
I'm afraid we cannot help you without reading the code, paste it to
phpfi.com and send the url here
now the general answer is, OOP or not OOP it doesn't matter
there is problem in the code whatever and however it's written dude.
Yes (the code is re
1 - 100 of 111 matches
Mail list logo