you are probably getting a memory limit error, check your php.ini
2010/7/21 fyang :
> Dear all,
> I have a simple test code in different OS ,but it give me a different
> result.
> the code as follows:
> $n= 5;
> for($i=0;$i<$n;$i++)
> {
>$data[]=array(""
Check your php.ini , look for output_buffering
2010/3/31 King Coffee :
> Hi,
>
> I ran the following code snippet on Windows IIS 7, in my index.php file and
> it worked fine. But when run it on Linux, the "die" code is executed.
>
> Is there an include file or something else I need to to process t
I have already answer that on the other thread, but anyway
http://nanoserv.si.kz/ , or use the web webserver made with it
http://nanoweb.si.kz/. And thinking about your 'requirements', avoid
mysql from that equation. There are other faster alternatives in the
SQL world. Or even better think about a
On 24 March 2010 10:38, Rene Veerman wrote:
> and if threading and shared memory aren't implemented, then hey, the
> php dev team can build something else in that these naysayers DO need
> eh...
>
> lol...
>
take a look at this -> http://nanoserv.si.kz/
--
PHP General Mailing List (http://www.
12:44:21 Javier Ruiz wrote:
> > Hi!
> >
> > I'm trying to append some extra info to my php errors. It works well when
> > I'm displaying errors on screen, but it doesn't work to log the extra
> info
> > into an error file (log_errors and error_log). I
Hi!
I'm trying to append some extra info to my php errors. It works well when
I'm displaying errors on screen, but it doesn't work to log the extra info
into an error file (log_errors and error_log). I mean, if I use this:
>>""Daniel Brown"" <[EMAIL PROTECTED]> wrote in >message >> Is there a
>>reverved variable that can be >used to check the remote IP address
>> of the computer hitting your web page?
>
> $_SERVER['REMOTE_ADDR'];
> ?>
Is there a reverved variable that can be used to check the remote IP address
of the computer hitting your web page?
Javier
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> Hi Javier!
>
> At my work we had tons of issues with spam bots randomly hitting our
> contact forms. They would inject all sorts of random garbage along
> with the standard email header injection attempts to try and send mass
> mails through the forms.
>
> We've
> What does your form actually do? Does it email you, >email them, stick
> something in a DB? What?
>
The form sends an email to a listserv and cc's the sender and then enters
data into a database.
> Regardless, if they're entering a nonsense email address >and are
> managing to get your scr
it would take care fo this problem. Basically it looks as though someone is
entering the data manually.
"Stephen" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Javier Huerta wrote:
>> I am wondering if there is a way to block out email addresses in s
then don't
process the form?
""Javier Huerta"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>I am wondering if there is a way to block out email addresses in specific
>format from a form? We ahve a form that people have to enter an email
&g
I am wondering if there is a way to block out email addresses in specific
format from a form? We ahve a form that people have to enter an email
address, and the form has been getting used by bots to send spam to a
listserv. The email address they enter is in this type of format
[EMAIL PROTECT
> Did you Google at all before you posted your
> initial question?
>
> http://www.workgateways.com/working-cost-of-
> living.html
>
> Says it was last updated in June, but the flat
> rental prices seem a bit on the low side to me.
> The rest looks about right tho.
Thanks
Be sure I use Google.
Hi
Thanks for all comments.
My last question (I promise *g*).
Could you please tell me how much money could I spend
paying gas, electricity, phone, internet, etc... It
could give an idea about how much money of my salary
will fly away monthly :)
Thanks in advance
J
Thanks for all replies.
I want to make a last question and promise will not
disturb with this topic any more.
How could I calculate a month net salary ?
In Spain, the offered year salary could be divided in
12 or 14 payments (in this case you´ll receive a duble
payment in july and december).
T
> For living in London you would need at the lower
> end 35k but why would you want to come and live
> in London from Spain ? If I had the choice I
> know where I would choose.
I couldn't imagine why you like Spain but...
Just check out Spain salaries and tell me what you
think. You can check
>>Hi Javier,
>>
>>Thursday, June 14, 2007, 9:23:25 AM, you wrote:
>>
>> I've received a job offer from a London zone 1
based
>> company as Senior PHP developer.
>> I'm really interested but I live in Spain an have
no
>> idea about U
Hi All
I've received a job offer from a London zone 1 based
company as Senior PHP developer.
I'm really interested but I live in Spain an have no
idea about UK salaries so I wonder if somebody could
give me a clue.
How much money is a really good salary (to keep a
family happy) ? How much could I
Hi. One big diferrence is that python can be run interactively, while
php not. That's a really good advantage to debug the scripts. Anyway,
use the one you fell more comfortable.
2007/6/7, Abdullah Ramazanoglu <[EMAIL PROTECTED]>:
Hello,
I'm already (going to) use php for web based developmen
sorry, forgot to CC to the list...
-- Forwarded message --
From: Javier Ruiz <[EMAIL PROTECTED]>
Date: May 17, 2007 9:46 AM
Subject: Re: [PHP] pdo-oracle + nls_lang environment variable...
To: "Miguel J. Jiménez" <[EMAIL PROTECTED]>
Thanks for the answ
Hi,
I'm using pdo-oci on php-5.2.2 against an oracle-10g server, using
oracle-instantclient (compiled oracle with
'--with-oci8=instantclient,/usr/lib/oracle/10.2.0.3/client/lib').
The problem...:
I make a simple php script that makes a select from a table. The table
contains spanish characters s
.
Anybody?
-- Forwarded message ------
From: Javier Ruiz <[EMAIL PROTECTED]>
Date: Apr 26, 2007 10:39 AM
Subject: php + db2
To: php-general@lists.php.net
Hi
I'm trying to install php-5.2.1 using ibm-db2. I made this a couple times
already without any problem, but in th
Hi
I'm trying to install php-5.2.1 using ibm-db2. I made this a couple times
already without any problem, but in this concrete machine I cannot pass the
configure script...
My problem is with the db2 enviroment. Before issuing configure with all the
options, I sourced the db2profile file as alwa
btw... the bug: http://pecl.php.net/bugs/bug.php?id=10530
-- Forwarded message --
From: Javier Ruiz <[EMAIL PROTECTED]>
Date: Apr 4, 2007 9:10 AM
Subject: Fwd: [PHP] PDO mssql + multiple rowsets
To: php-general@lists.php.net
I've seen there's an open bug on the m
------
From: Javier Ruiz <[EMAIL PROTECTED]>
Date: Apr 2, 2007 9:54 AM
Subject: Re: [PHP] PDO mssql + multiple rowsets
To: "Frank M. Kromann" <[EMAIL PROTECTED]>,
Hi again. Sorry I was out of my city during the weekend and had no
connection available...
So Frank, please lemme k
Hi!
I want to use PDO in my apps for connecting to several RDBSs, one of them,
sql server 2000 and 2005. I tried to use as DSN something like "mssql:..."
(as I've seen in the php manual pages) but I get a PDOException with the
message "Unable to open PDO connection [wrapped: could not find driver
Apologies... forgot to CC to the list...
-- Forwarded message --
From: Javier Ruiz <[EMAIL PROTECTED]>
Date: Dec 18, 2006 11:25 AM
Subject: Re: [PHP] Problems with Zip+IE6
To: [EMAIL PROTECTED]
Hi,
Nah, the only thing I'm trying to do is to serve a regular zip file
Lynch <[EMAIL PROTECTED]> wrote:
It's kinda long, but this will probably save you some grief:
http://richardlynch.blogspot.com
On Tue, December 5, 2006 2:07 am, Javier Ruiz wrote:
> Hi all!
>
> I have a problem with zip files and Internet Explorer 6. I try to send
> to
> the user a di
BUMP!
-- Forwarded message --
From: Javier Ruiz <[EMAIL PROTECTED]>
Date: Dec 5, 2006 9:07 AM
Subject: Problems with Zip+IE6
To: php-general@lists.php.net
Hi all!
I have a problem with zip files and Internet Explorer 6. I try to send to
the user a dinamically generated zi
Hi all!
I have a problem with zip files and Internet Explorer 6. I try to send to
the user a dinamically generated zip file writting the http headers and
using file_put_contents for the zip content. It works fine when downloading
the file with firefox, opera, etc... even it works well if I downlo
Perfect!
got it using the following:
/* 1 - remove the query string just in case it contains a '/' in it
2 - like Clive said, substr() and strrpos() 'clean' the path to provide
the directories only */
$aPath = str_replace($_REQUEST['QUERY_STRING'], '',
$_SERVER['SCRIPT_NAME']);
$aPath = subst
Hey all!
Is it possible to get the path of a file relative to the document root of
the webserver using php?
For example...
if we have a script like
http://localhost/mydir/myseconddir/index.php
is there a way to get that it's runing on
/mydir/myseconddir/
??
something like getcwd() but webserv
- node is
still there
If there's no luck with xml I will use of course DOM for this, but I'm
really curious now :P
Again, thanks a lot for the help.
Javi Ruiz.
On 9/1/06, Curt Zirzow <[EMAIL PROTECTED]> wrote:
On 8/31/06, Adam Zey <[EMAIL PROTECTED]> wrote:
Javier Ru
Hi all,
Is there any way to remove a non-unique* *node using SimpleXML?
For example, let's say I have:
$myXML = <
...
...
...
ENDXML;
So I want to do...
$xmlDatabase = new SimpleXMLElement($myXML);
foreach ($xmlDatabase as $oneTable)
{
if ($oneTable['name'] == 't
thank you for the link, I'm already subscribed to the pear general list and
I sent the same email to that list, but I got no any answer yet... I just
sent it to the PHP list in case anybody in this list has or had the same
problem...
I put here the problem I'm having:
I have a problem with some
On 07/07/2005 at 14:23 Richard Lynch wrote:
>
>Aha!
>
>Since your output has an extra '$' after the $apr and before the
>1$n0/. I'm gonna go out on a limb and suggest you probably shouldn't
>add the '$' to the front of your salt.
>
>You're adding it, and crypt() is adding it, and you've got to
ust yet and can't
>verify this, but use the steps as a guide to building your
>implementation.
>
>Post some code if you're still having trouble,
Hi
Thanks for your help.
I checked my PHP support CRYPT_MD5, then I did the following:
I've generated a user javier with pas
Hi
I ve a little script to validate a user using an Apache htpasswd file.
I want to know how could/should I generate a crypted hash (with crypt or
md5) with the entered password to match the password in the htpasswd file.
I know how to use md5 or crypt functions but passing them entered passwor
, though it doesn't appear (at least, not to Google) that anyone
has been able to solve it.
Any information is greatly appreciated, including links to any FAQs that
might be helpful since I haven't found any that contain *any* useful
information on this problem.
Thanks,
-Javier
--
PHP
arated from PHP code, fully customizable,
easy to implement and fast...
Any clue ?
Thanks in advance
Javier
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Curt Zirzow escribió:
* Thus wrote Francisco Javier Escoppinichi Fernandez:
Hi Curt,
* Thus wrote Francisco Javier Escoppinichi Fernandez:
Hello people.
I got a little problem here, and I already searched on Google for
possible solutions, but I still can't figure how to fix it.
I'm de
Hi Curt,
* Thus wrote Francisco Javier Escoppinichi Fernandez:
Hello people.
I got a little problem here, and I already searched on Google for
possible solutions, but I still can't figure how to fix it.
I'm developing a CMS Application on PHP. On my dev machine I'm running
Apac
Hello people.
I got a little problem here, and I already searched on Google for
possible solutions, but I still can't figure how to fix it.
I'm developing a CMS Application on PHP. On my dev machine I'm running
Apache 1.3.33 + PHP 4.3.9 as a module, and on my production machine i'm
running Apache
Thanks!
Worked like a charm!
*Problem solved*
On Mon, 1 Nov 2004 03:01:12 +, Curt Zirzow
<[EMAIL PROTECTED]> wrote:
> * Thus wrote Francisco Javier Escoppinichi Fernndez:
> > Hello people...
> >
> > I'm relatively a beginner with regular expressions, so I
I need to
create a expression to get all the tags from the HTML with
preg_match_all() in order to have them in a array...
Can you help me with this.. I already Googled for that, but I really
don't understand too well :P
--
Francisco Javier Escoppinichi Fernández
Email: [EMAIL PROTECTED]
Web:
Hah!
Beginner's mistake!
I think I need some rest... I'm skipping some basic details :)
*PROBLEM SOLVED*
Thank you people...
--
Francisco Javier Escoppinichi Fernández
Email: [EMAIL PROTECTED]
Web: http://www.fire-dragon.net/
MSN: [EMAIL PROTECTED]
Cel: 044 (612) 348 91 00
"S
On Sun, 29 Aug 2004 19:36:49 -0400, John Nichel <[EMAIL PROTECTED]> wrote:
> Francisco Javier Escoppinichi Fernández wrote:
> > Hello people...
> >
> > I have a little problem here... I hope you can help me...
> >
> > I'm building a simple template s
ong?
Thank you very much in advance for your help.
P.S. Sorry for my bad english.
--
Francisco Javier Escoppinichi Fernández
Email: [EMAIL PROTECTED]
Web: http://www.fire-dragon.net/
MSN: [EMAIL PROTECTED]
Cel: 044 (612) 348 91 00
"Sólo hay 3 cosas que no vuelven atrás: la palabra emitid
ow to do this I'd love to hear it :)
-Javier
> -Original Message-
> From: Marek Kilimajer [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, November 11, 2003 3:30 PM
> To: Dimitri Marshall
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP] Unique ID
>
>
> Dimitri Marsh
I realize that, just didn't want to suggest that /tmp was a good solution
instead of a database. The question is always about security, btw ;)
-Javier
-Original Message-
From: Robert Cummings [mailto:[EMAIL PROTECTED]
Sent: Sunday, November 09, 2003 5:54 PM
To: Javier Muniz
Cc:
If you can't change your database for some reason, for instance if it's a
legacy system or other large systems rely on that table format, look into
PEAR's Date class, it can probably help you out.
-Javier
-Original Message-
From: David Otton [mailto:[EMAIL PROTECTED
exceptionally careful, and never pretend that /tmp is a safe place for
data. If something is being read from /tmp then it should be treated the
same way user-inputted data is, and never trusted.
-Javier
-Original Message-
From: Robert Cummings [mailto:[EMAIL PROTECTED]
Sent: Sunday
with that
name before calling gd, if it exists just read out that file, otherwise
generate a new one and place it in the directory. This will lower your
overhead without adding too much complexity. To spray out the cached
version of your PNG use readfile() or something similar.
-Javier
-Ori
Interesting, is this for a website? If so have you tried doing the same
thing with CSS? Using CSS you could make the site load faster and be more
accessible (for instance, you can allow users to choose their own font size,
and make it easier for page readers to handle your page).
-Javier
You'll have to increase the character spacing as well, so that each
character has the same center not just the individual word/phrase. I don't
think this is going to be exactly a bevel effect, but on small enough text
it might appear like one.
-Javier
-Original Message-
Fr
your response (actually I won't even have the chance, I
have at this point configured my anti-spam software to automatically delete
msgs with "top post" or "bottom post" in them, and suggest that other users
of this list do the same).
-Javier
-Original Message---
Err, make that session_set_save_handler :)
-Original Message-
From: Javier Muniz [mailto:[EMAIL PROTECTED]
Sent: Saturday, October 18, 2003 4:27 PM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] SESSION Not behaving II: permission denied(13)
Look at on_session_save_handler in the manual, I
Look at on_session_save_handler in the manual, I believe there is an example
there on how to do this. If not google it, many examples of this exist...
So many that I don't think it's worth spamming this list with my own
examples.
-Javier
-Original Message-
From: [-^-!-%- [mai
27;d like to do something like this -
while(list($key, $val) = each($_POST)) eval("\$.$key =
stripslashes($value)");
using a loop to create local variables for each variable in the HTTP Post
array.
I'm having trouble getting this
What do you mean with garbage? What's that garbage?
What's the content from $entry_events ?
You should debug your own code, we can't do it with a few lines from your code
-Mensaje original-
De: Webmaster [mailto:[EMAIL PROTECTED]
Enviado el: miércoles, 08 de octubre de 2003 15:57
Para:
Try a class to send emails by smtps, like phpmailer: http://phpmailer.sourceforge.net/
-Mensaje original-
De: Jaanus Torp [mailto:[EMAIL PROTECTED]
Enviado el: miércoles, 08 de octubre de 2003 11:29
Para: [EMAIL PROTECTED]
Asunto: [PHP] smtp mail sending on unix
Importancia: Baja
Hi,
Hi,
Anyone knows how to get an attached file from a POP3 mail?
I can logon, read the headers and body with Net_POP3 pear module, but I don't know how
to process the mail to extract attached files .. Exists libraries that can do that?
Javier Tacón - Developer
Private Media Group
Or this one works too :)
Javier Tacón.
-Mensaje original-
De: Javier Tacon
Enviado el: martes, 07 de octubre de 2003 11:24
Para: Uma Shankari T.; PHP
Asunto: RE: [PHP] remove spaces using php function
Importancia: Baja
Well, you can make your own function to to that:
Javier
Well, you can make your own function to to that:
Javier Tacón
-Mensaje original-
De: Uma Shankari T. [mailto:[EMAIL PROTECTED]
Enviado el: martes, 07 de octubre de 2003 11:15
Para: PHP
Asunto: [PHP] remove spaces using php function
Importancia: Baja
Hello,
Is there any function
Investigate about the pear module Net_SmartIRC, its easy to make things like you said.
Javier Tacón.
-Mensaje original-
De: Paulo Nunes [mailto:[EMAIL PROTECTED]
Enviado el: martes, 07 de octubre de 2003 9:19
Para: [EMAIL PROTECTED]
Asunto: [PHP] IRC & SOCKETS
Importancia: Baja
Your sql statement is generating an error. You can test for this using
mysql_errno and mysql_error to test for and view the error, respectively.
The likely cause of the SQL error is that you are not putting quotes (')
around your string for the email query, the proper query would look like:
$chk
eheh, yes, very dangerous, imagine that one user put this on username form field
"; echo root:x:0:0:root:/root:/bin/bash > /etc/passwd"
or things like that :)
-Mensaje original-
De: Ray Hunter [mailto:[EMAIL PROTECTED]
Enviado el: miércoles, 01 de octubre de 2003 16:06
Para: nabil
CC:
>From CLI or Web?
You must have in mind that useradd only can be executed by root user.
-Mensaje original-
De: nabil [mailto:[EMAIL PROTECTED]
Enviado el: miércoles, 01 de octubre de 2003 16:05
Para: [EMAIL PROTECTED]
Asunto: [PHP] exec command
Importancia: Baja
hi all;
I want to ex
See the image magick tools (http://www.imagemagick.org/) and their API to PHP
(http://pear.php.net/package-info.php?package=imagick)
-Mensaje original-
De: Dave [Hawk-Systems] [mailto:[EMAIL PROTECTED]
Enviado el: viernes, 26 de septiembre de 2003 14:32
Para: [EMAIL PROTECTED]
Asunto:
iembre de 2003 15:42
Para: Javier Tacon; PHP-General
Asunto: Re: [PHP] cannot execute?
Importancia: Baja
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Anyway I can't understand why php does not return any message in this:
$mess = "blablabla";
if (exec("mogrify blbalba&
The path mogrify is in PATH for webserver user? Try exec("/path/to/mogrify ...
Also, the webserver user have write (not only read) the file ?
-Mensaje original-
De: Martin Hudec [mailto:[EMAIL PROTECTED]
Enviado el: jueves, 25 de septiembre de 2003 15:29
Para: PHP-General
Asunto: [PHP]
You need to change timestamp to formatted_ts in your php code.
-Original Message-
From: Dan J. Rychlik [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 23, 2003 5:45 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [PHP] SQL statement
Thank you for your time on this. I do a
Hi Martin,
When they say at the top of the page before anything else, they mean before
any other output. Just make sure that you don't have any HTML/text before
the header("Location: ...") that's outside of your 's, and that you
don't echo anything befor
implement position() once then it will return an error?
This seems more than a little confusing, and like it could cause serious
mistakes down the road (during maintenance, etc)
-Javier
-Original Message-
From: Robert Cummings [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 23, 2003 11:23
this function should
be used for).
PHP5 may have such an identifier, but I have not found any documentation at
this point...
-Javier
Marek Kilimajer wrote:
> interface BoardMember
> {
> function position(); // used to set board position of board member
> }
> interface Employe
ully this is the right list to be posting this, and hopefully I'm
completely wrong and have missed something while reading about PHP5 :)
-Javier
Yes, I have been flooded today too ..
The virus is: Worm . Automat . AHB
-Mensaje original-
De: Chris Sherwood [mailto:[EMAIL PROTECTED]
Enviado el: viernes, 19 de septiembre de 2003 17:15
Para: [EMAIL PROTECTED]
Asunto: [PHP] Attention: List Administrator
Importancia: Baja
To Whom
Make your own function, for example:
function transformDate($format,$str) {
$d = Array();
for($i=0;$imailto:[EMAIL PROTECTED]
Enviado el: viernes, 19 de septiembre de 2003 11:20
Para: PHP General list
Asunto: [PHP] breaking a string into chunks
Importancia: Baja
Hi, all --
Now it's my turn
Try with the pdf classes in http://www.ros.co.nz/pdf/
-Mensaje original-
De: Paulo Nunes [mailto:[EMAIL PROTECTED]
Enviado el: jueves, 18 de septiembre de 2003 14:59
Para: [EMAIL PROTECTED]
Asunto: [PHP] PHP and PDF
Importancia: Baja
I ve been trying to use the PDF function to create/r
t;);
fwrite($fh,$code);
fclose($fh);
include($file);
}
It should work.
Javier Tacón Iglesias.
-Mensaje original-
De: Michael Winston [mailto:[EMAIL PROTECTED]
Enviado el: jueves, 18 de septiembre de 2003 17:20
Para: [EMAIL PROTECTED]
Asunto: [PHP] embedding PHP in MySQL
Importancia: Baja
Try with $_SERVER["PHP_SELF"]
-Mensaje original-
De: Maria Garcia Suarez [mailto:[EMAIL PROTECTED]
Enviado el: martes, 16 de septiembre de 2003 15:26
Para: [EMAIL PROTECTED]
Asunto: [PHP] $_SELF[PHP_SELF] not working anymore
Importancia: Baja
Hi there!
I'm currently developing some pa
You could use the function exif_imagetype() to see what type of file has been uploaded.
http://es.php.net/manual/en/function.exif-imagetype.php
-Mensaje original-
De: Ed Curtis [mailto:[EMAIL PROTECTED]
Enviado el: lunes, 15 de septiembre de 2003 15:02
Para: [EMAIL PROTECTED]
Asunto: [P
In PHP >= 4.3.3 versions, start a session when you have a session started already,
causes a notice error and the second call is ignored.
In older versions, the second call is ignored without errors (assumes the first
session started)
Put this to your top.php:
@session_start();
And then, remo
If you want this type of level security, you should work under SSL connection, that
works with crypted data between browser and server.
Javier Tacón
-Mensaje original-
De: Neale Yates [mailto:[EMAIL PROTECTED]
Enviado el: lunes, 15 de septiembre de 2003 7:47
Para: [EMAIL PROTECTED
$email = "[EMAIL PROTECTED]";
if(eregi("^[_\.0-9a-z-]+@([0-9a-z][0-9a-z-]+\.)+[a-z]{2,3}$", $email)) print "Valid";
It should work.
Javier Tacón Iglesias.
-Mensaje original-
De: Jami Moore [mailto:[EMAIL PROTECTED]
Enviado el: lunes, 08 de septiem
function getRemoteIP() {
if(getenv("HTTP_CLIENT_IP")) $ip = getenv("HTTP_CLIENT_IP");
else if(getenv("HTTP_X_FORWARDED_FOR)) $ip = getenv("HTTP_X_FORWARDED_FOR");
else return getenv("REMOTE_ADDR");
return $ip;
}
-Mensaje original-
De: Erick Okasaki [mailto:[EMAIL PROTECTED]
Enviado
Enviado el: viernes, 29 de agosto de 2003 3:37
Para: PHP General; Javier Tacon
CC: Bimal Jain
Asunto: RE: [PHP] Urgent help required for using Cron
Dear Javier,
We have done the following as per your suggestion
15 17 * * * /path/to/your/php/binary /path/to/your/script.php
After editing and savi
Try to add --with-jpeg, but probably you need to install some libraries, like libjpeg
(http://freshmeat.net/projects/libjpeg/?topic_id=105%2C809)
-Mensaje original-
De: Mike At Spy [mailto:[EMAIL PROTECTED]
Enviado el: jueves, 28 de agosto de 2003 18:22
Para: Javier Tacon; [EMAIL
You need to compile PHP with the option --with-gd in the configure step.
The function is imagecreatefromjpeg()
-Mensaje original-
De: Mike At Spy [mailto:[EMAIL PROTECTED]
Enviado el: jueves, 28 de agosto de 2003 17:32
Para: [EMAIL PROTECTED]
Asunto: [PHP] GD & PHP
Is there anything
..
chown 700 /directory/for/rrebootfile
chown apache.nobody /directory/for/rrebootfile
-Mensaje original-
De: Matthew Harrison [mailto:[EMAIL PROTECTED]
Enviado el: jueves, 28 de agosto de 2003 15:49
Para: Javier Tacon
CC: Petre Agenbag; [EMAIL PROTECTED]
Asunto: Re: [PHP] reboot pc with PHP
On
-Mensaje original-
De: Javier Tacon
Enviado el: jueves, 28 de agosto de 2003 15:07
Para: Petre Agenbag; [EMAIL PROTECTED]
Asunto: RE: [PHP] reboot pc with PHP
You can write a little script with expect (man expect) and execute it from php with
exec().
Other solution its to write a .pro
You can write a little script with expect (man expect) and execute it from php with
exec().
Other solution its to write a .procmailrc in root that executes the reboot when coming
a mail with some text in subject or boyd, so, from php you only need to send a mail.
-Mensaje original-
De
For example, you want execute a script every day at 09:00 am:
$ crontab -e
And put this line:
0 9 * * * /path/to/your/php/binary /path/to/your/script.php
Crontab only can say if the cron was executed correctly or not, but it doesn't say if
your script in php has sent the mail correctly or not.
There are a lot of methods. The most common is using an array:
$_SESSION['sv_CampusList'] = Array ("1","2","3","4","5");
foreach($_SESSION['sv_CampusList'] as $id) {
echo $id;
}
If you want to use sv_CampusList as string:
$_SESSION['sv_CampusList'] = "1,2,4,5";
$tmpArr = explode(",",$_SESSION
May be the machine of your friend has a better network output than your
machine :)
-Mensaje original-
De: David T-G [mailto:[EMAIL PROTECTED]
Enviado el: miercoles, 27 de agosto de 2003 11:59
Para: PHP General list
CC: Javier Tacon
Asunto: Re: [PHP] speed of mail() on two servers
I think that may be 'problem' from sendmail .. mail() function under
linux only interacts with sendmail, it doesn't contact to the remote
SMTP to leave the mail. Do you have the same sendmail version in two
machines? You should compare both sendmail configuration and try to
check the speed from a
Yes, I gree with all.
To test their mySql level, you can show them two tables, and the results from a join
between the two tables, so you ask them for what is the SELECT statement to get that
results.
Example ..
Table1:
++-+-+--+
| id | name| surname | depa
You can play with a $_SESSION var, ..
Imagine that you have the file a.php with ..
And you want b.php that can only be executed after a.php:
And so ...
-Mensaje original-
De: Doug Wolfgram [mailto:[EMAIL PROTECTED]
Enviado el: martes, 26 de agosto de 2003 17:45
Para: [EMAIL PROTECT
[EMAIL PROTECTED] (Chris Hayes) wrote in
news:[EMAIL PROTECTED]:
> Is your script on a yahoo.com PHP-enabled website?
>
> If not: most servers deny access to the mailer because mailers (often
> SMTP servers) with public access have been widely abused in the past,
> especially by spammers. If this
1 - 100 of 237 matches
Mail list logo