-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
..
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
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
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
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
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
$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
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
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
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
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
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 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
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
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
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
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
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
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
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
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]
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&
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:
>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
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:
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
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
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
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
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
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,
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:
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
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
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---
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
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
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
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
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
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:
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
what's on line 2 of your index.php? You appear to be sending output
before starting your session. Have you tried including wpdbcon.php
before you do anything in your index.php?
-jm
-Original Message-
From: JB [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 10, 2001 6:48 AM
To: Bran
This is probably due to the fact that form values don't override session
values... this is a feature, not a bug. (imagine if i could do:
http://www.yourdomain.com/highsecurity.php?user=admin and magically
become admin... very broken security)
-jm
-Original Message-
From: bill [mailto:[E
Just a side note: A very nice way to do this is using bitwise operators
to store all your access information into one int This is handy for
saving space in databases, and bitwise operations should be incredibly
fast compared to string comparisons.
Cheers,
Javier
-Original Message
I am using the following function to add a serialized object to a
session:
function add_toCart($id,$array) {
session_register("OBJECT");
$c = new Configurator;
$c->readConfig($id);
$OBJECT = serialize($c);
header("Location: Cart.php");
echo "Redirec
The session file is not empty :) the OBJECT portion of the session file
is empty. i.e. cat'ing /tmp/sess_whatever yields:
!OBJECT|
-jm
-Original Message-
From: Javier Muniz [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 19, 2001 3:57 PM
To: '[EMAIL PROTECTED]'
Subject
We're running 3.23.32, soon upgrading to .33 due to some security problems
with .32 (either tonight or tomorrow), and running the latest release of PHP
4. Naturally, since I work for Granicus, I'm biased... but I think we're
one of the better PHP hosts out there as far as services go. Our primar
URLs must be encoded if they contain special characters (and should be
encoded always). See urlencode().
-jm
-Original Message-
From: Tom Harris [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 22, 2001 11:12 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Passing values containing a ? and a
Encode them, or set filesystem permissions in such a way (suggest using
groups) to allow apache to read files but not other users.
For instance, if your users are all members of the users group, and apache
runs as nobody, then set your files to be owned by the user with the nobody
group (chown us
-
From: Gustavo Vieira Goncalves Coelho Rios [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 21, 2001 10:55 PM
To: Javier Muniz
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] security
Javier Muniz wrote:
>
> Encode them, or set filesystem permissions in such a way (suggest using
> groups)
Try:
echo $array[$i][course_num] . ' ' . $array[$i][course_title];
-jm
-Original Message-
From: Scott Walter [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 22, 2001 1:59 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Arrays -- How do I insert a pair of data into an array
I am attemptin
Hello,
I need to create excel files from data stored in mysql.
I'm using php in a linux box, so as far as I know I cant
use COM functions.
Is there a way to do what I intend
Tank you
--
Javier Onate Mendia
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubs
should probably be:
function philtime($time) {
$hours = ($time - ($time % 3600)) / 3600;
$min = (int) (($time % 3600) / 60);
return ("$hours:$min");
}
This way you don't risk rounding up on your first cast to int and being off
by an hour... rounding is ok, however, for mi
why is the $HTTP_POST_VARS array empty if i use IE? when i used NN, everything's ok.
please help!
-
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®
I have installed a php server into a w2000 machine, and i must create a
user into a service of a sun machine, using a comand like
$> executable
where param1, param2,... are forms' entries (W2000 IIS form).
Can I do a rsh (or a telnet) sesion with php? How...
tnkx
--
PHP Genera
I must execute a command in a sun machine, but the web server is IIS
(into a W2000 machine).
The parameters are the form's fields.
Is it possible (better rsh, telnet is valid)?
tankx
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello to all. Please help me in this problem of mine. I have an html template with a
frame. I'm using phplib's templating functions to replace values in the templates. How
do i also replace values both in the main template (frleft.htm) and in the html page
contained in the frame? My code look
.
Anyone have any clue why this is?
Javier Muniz
Chief Technology Officer
Granicus, LTD.
Tel: (415) 522-5216
Fax: (415) 522-5215
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
Unfortunately, mysql returns no error string. MySQL doesn't appear to think
it's
an error, as it does apply changes to the row I'm trying to change, it
simple isn't
applying the CORRECT change to said row :)
-Javier
-Original Message-
From: David Robley [mailto:[EM
~1.ext) format?
any help is appreciated.
Javier Muniz
Granicus, LTD. (www.granicus.com)
Tel: (415) 522-5216
Fax: (415) 522-5215
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
I do a similar thing on my machines, only instead of having a java daemon
that runs as root I chose to create a database that the php script can
insert user and other information into, then a perl script that is called
from cron that fetches from the database and does the necessary user adds.
Thi
xy are
difficult due to the administrative rules of the client.
Perhaps you have any suggestions to make this mails arrive.
I will really appreciate your help.
Than you in advance
--
Javier Onate Mendia
[EMAIL PROTECTED]
10800 (3 hours) the
script gets "CGI Application Timeout: The specified CGI application exceeded
the allowed time for processing. The server has deleted the process." after
5 minutes of execution.
I'm running PHP 4.04pl1 under IIS 4.0.
Any help is greatly appreciated.
Thanks,
-J
Hi people!
I'm trying to migrate my site from perl to PHP4. The question is how I get numbers
look like this: 0001, 0002, etc
Thanks for your time & help
Javier Bellido
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
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:
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 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
------
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
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
, 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
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
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
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
> 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
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
>>""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'];
> ?>
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
.
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 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
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 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 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
> 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
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
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
> 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.
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
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
- 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
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
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
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
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
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
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
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
In my experience this is caused by an error in your .xsl... not exactly
the most verbose error so I don't know what's actually happening here.
-jm
-Original Message-
From: Chris Lee [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 06, 2001 5:34 PM
To: [EMAIL PROTECTED]
Subject: [PHP]
Actually, if you read the manual entry for fpassthru, it states that the
filehandle will be closed by fpassthru upon reading.
So you're trying to close your filehandle twice... get rid of the
fclose($fp) at the end and you should be fine.
-jm
-Original Message-
From: Christian Reiniger [
101 - 200 of 237 matches
Mail list logo