hce wrote:
Let me first describe the requirement more:
The C program is a major business server
I would not connect applications on low level.
I would think of a web services type of interface - http request and
xml response (Steven suggested, for example, SOAP - but it does not need
to be
2. It's useful if the host company and the client keep the same office
hours.
If you have a hosting company with 9 to 5 office hours, you are dead,
even if it is next door.
Iv
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Shelley wrote:
I am working on a sns site, and now my practice is grouping classes of a
function
classes of a function... perhaps classes related to certain
functionality?
(i. e. subscription) together. When I need it, just load the package:
subscription.
Right? ;)
Hm... I do not know
Hi!.
I need to create a pageflip magazine (you know, a flash magazine).
My client ask me to do a little php program that convert a full pdf
magazine into a pageflip magazine.
My doubt is: It's possible with php to read a full pdf and make an image
for each page?
Thanks a lot.
Ray.
--
PHP
Robin Vickery wrote:
Out of hours technical support often gets billed at a punitive rate.
Which is a bugger if their out of hours is your working day.
It seems you haven't tried Rackspace (UK) yet.
And while you might get tech support out of hours, accounts and
billing usually keep normal
Shiplu wrote:
In my web server, I cant send mail by PHPMailer.
What does this mean?
Do you get an error message, etc.?
Iv
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Richard Heyes wrote:
Does anyone have any more examples of the new canvas element they've
written?
FF only: http://www.phpguru.org/canvas.html
This is a pretty interesting use of Canvas as well. Thanks for sharing!
http://ejohn.org/blog/processingjs/
--
Ray Hauge
queues. It was an internal
app, or else I'd link it :(
--
Ray Hauge
www.primateapplications.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ryan S wrote:
Thanks for replying m8, but if you check the rest of the thread you will see
this has alraedy been solved and the result is
http://ezee.se/ezeeurl.php?do=1
Cheers!
Ryan
How do you protect this thing from being spammed?
I do not know why somebody would spam it, but I have had
Lester Caine wrote:
Has anybody seen any software that could be used with PHP to extract the
preview pictures from CAD files such as DXF and the like. I'm looking to
keep thumbnails of the drawings in much the same was as we generate
thumbnails of images. So I can display a list of previews
hi all,
i need a way to get the path to the parent folder of the folder i am in.
one dirty way i found is this -
require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR .
.. . DIRECTORY_SEPARATOR .
config.php);
i can also explode() and reassemble all
James Dempster wrote:
Personally I use.
?php require_once(dirname(dirname(__FILE__)).'/config.php');
I think it's what most people do.
A... very interesting, thanks.
To get the path only I did this -
$path = dirname(__FILE__);
$parts= explode(DIRECTORY_SEPARATOR, $path);
Stut wrote:
$path = dirname(dirname(__FILE__));
That will get you the parent directory.
-Stut
A,... right! - me and my limited thinking... - dirname() gives the
parent of a file AND of a directory, right.
Thanks,
Iv
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Jim Lucas wrote:
Iv,
tell me why you are wanting to do this?
If it is the reason I think it is, I can give you a better way to
accomplish this.
I have the source and a configuration file, which I want outside the
source - it is different from server to server.
The easiest is to have the
-gettempaltesize/
It also looks like the useTemplate method might do some legwork for you,
but I'd have to test...
http://www.setasign.de/support/manuals/fpdf-tpl/fpdf-tpl/fpdf-tpl-usetemplate/
HTH
--
Ray Hauge
www.primateapplications.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
Dan Joseph wrote:
I guess the main problem is people don't realize that there are a LOT of
things you can do in the military other than just taking a gun out into the
field and firing at the enemy. If you want people to believe that mandatory
service is a good thing, they have to do more to get
tedd wrote:
Hi gang:
More of a question of method rather than of right or wrong -- of the
two methods mentioned here, which way would be better and why?
Initially I used to access global variables using the global keyword -
function foo()
{
global $bar;
}
However if the function code
Jim Lucas wrote:
Iv Ray wrote:
Jim Lucas wrote:
So, saying that it is outside the source does not tell me if it is
outside the document root.
A, right.
It is outside the document root.
Use your include_path php_ini setting
A, right...
Didn't think of it.
Actually, I do not like
Richard Heyes wrote:
i need a way to get the path to the parent folder of the folder i am
in. one dirty way i found is this -
require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR .
.. . DIRECTORY_SEPARATOR .
config.php);
i can also explode() and
Per Jessen wrote:
Call me .. uh no, I'm getting sick ... you guys are so completely and
utterly off-topic - please take it off-line.
It was obviously off-topic from the beginning,... however it felt
somehow OK... - I mean, it gave the list a personal touch and every
successful organization
joaquinbordado wrote:
'm a total newbie..i just want to know how can i display an http
response 200
Don't have time to customize it for you, but that's how it can be done-
header(HTTP/1.0 404 Not Found);
/*
*
* I copied the DOCTYPE from what Apache 1.3.34 returns.
*
*/
echo !DOCTYPE HTML
ryan gacusana wrote:
here is my code
when accessing this url
http://localhost/podcast/podcast.php?mobile=0823172message=2343443=%3Eryan
This runs on your computer, I can't access it.
else
echo Message has been sent successfully.;
// in this part i want to respond with a status of 200,sorry
pere roca wrote:
hi everybody!
Hi!
is there some way to allow downloading a PHP generated file from an ajax
request?
No idea, but would love to hear if/how you solved it.
Iv
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Mário Gamito wrote:
Hi,
Does someone knows of a PHP software that is an inline PDF reader ?
You can view the idea here:
http://www.scribd.com/doc/2025925/Clinical-chemistry-II-Biomedical-Science-practical-1
Any help would be appreciated.
Warm Regards,
Mário Gamito
What will happen if you
Eric Butera wrote:
The only thing I can think of is using JS to create some sort of
IFRAME, meta redirect, window.location, or a popup window, something
that will force the page to hit your download script directly. I've
never attempted it myself so I'm not sure what sort of issues IE would
Al wrote:
I freely use defined constants for all fixed variables in my config file.
It insures they cannot be inadvertently reassigned by a function
someplace and are available everywhere.
That's a good idea, I have been thinking about this.
Never thought they have global scope, though - a
. That's been an
interesting experience that I'm glad I did.
--
Ray Hauge
www.primateapplications.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
the
button. I ran into the same issue with a game I've been making:
http://www.primateapplications.com/trackattack/
Since you're working with the Canvas, you can be reasonably sure that
the browser would support doing this.
--
Ray Hauge
www.primateapplications.com
--
PHP General Mailing List
of the night to check some production
issues and checked my email while waiting. My memory might not be fully
functioning :)
--
Ray Hauge
www.primateapplications.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
to play the music and sounds through Flash. All the code
is inline, just to make it easier for people to view the code.
--
Ray Hauge
www.primateapplications.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Daniel Brown wrote:
On Tue, Jun 24, 2008 at 3:53 AM, Ray Hauge [EMAIL PROTECTED] wrote:
http://www.primateapplications.com/trackattack/
Ray,
This displays perfectly fine, but does not function beyond looking
pretty on Firefox 3 (Linux/KDE). I am, however, probably going to
play
.
--
Ray Hauge
www.primateapplications.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I really mean
crazy, but I suppose it is really old.
F I=1:1:10 W VALUE: _I,! ; Writes VALUE: . I each on a new line
Sorry for venturing off-topic, but I told you!
--
Ray Hauge
www.primateapplications.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
looking for, then the bytecode caching is a
nice addition, but like you said there are OSS alternatives.
I also completely agree with the Zend Studio comment. I've switched
back to Zend Studio 5.5, because the Eclipse version was just so
unintuitive... especially for debugging.
--
Ray Hauge
we should all take
a moment and wonder: why the hell aren't you at the hospital with your
wife and newborn son, Rob? ;-P
Congrats to the Cummings family!
Oh wow, congrats Rob! We just had our second (and last after my
surgery) 5 months ago.
Enjoy the lack of sleep :)
--
Ray Hauge
Indeed i am looking for a tool to write my code with on a box that has
no gui environment, However if a Jihad is going to ensue because of it,
i shall withdraw my question, head bowed.
RTC
Kevin Kinsey wrote:
John Nichel wrote:
Ray Cantwell wrote:
Hello again,
I was wondering if any
valid, but you also have a way of
knowing what's current and what is not. Just a thought.
--
Ray Hauge
Programmer/Systems Administrator
American Student Loan Services
http://www.americanstudentloan.com
1.800.575.1099
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
', 34
='West Dunbartonshire', 35 = 'West Lothian Council', 8 = 'Comhairle nan
Eilean');
After the 30 element you have a space after the '=' like: = instead of
=
HTH
--
Ray Hauge
Programmer/Systems Administrator
American Student Loan Services
http://www.americanstudentloan.com
1.800.575.1099
or for) then it's going to be slower... no matter
if it's compiled beforehand or at runtime :)
Ray
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
too)
--
Ray Hauge
Programmer/Systems Administrator
American Student Loan Services
www.americanstudentloan.com
1.800.575.1099
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Filtering
and
Security Corner: SQL Injection
Also, make sure to check out http://phpsec.org
HTH
--
Ray Hauge
Programmer/Systems Administrator
American Student Loan Services
www.americanstudentloan.com
1.800.575.1099
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
a deadline at work ;)
--
Ray Hauge
Programmer/Systems Administrator
American Student Loan Services
www.americanstudentloan.com
1.800.575.1099
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
0 count($FFELP_Lenders) 1
$numFFELP + $numCONS == $numTotal){
etc.
Any suggestions?
Thanks,
--
Ray Hauge
Programmer/Systems Administrator
American Student Loan Services
www.americanstudentloan.com
1.800.575.1099
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
*
--
Ray Hauge
Programmer/Systems Administrator
American Student Loan Services
www.americanstudentloan.com
1.800.575.1099
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Original Message
Subject: Re: [PHP] IF or SWITCH
From: Chris [EMAIL PROTECTED]
Date: Wed, April 05, 2006 8:32 pm
To: Ray Hauge [EMAIL PROTECTED]
Cc: PHP-General php-general@lists.php.net
Ray Hauge wrote:
Hello World! wait, not coding... (sorry, long night)
Okay
that this logic is going to change,
and I WILL have to come back to this. Such a pain to completely cover
every possibility under the sun for so many permutations...
Ray
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
up deciding to stay with the IF/ELSEIF statements... mostly because I
was already done. I did clean up the COUNT()ing though.
Always nice when the list helps out :)
--
Ray Hauge
Programmer/Systems Administrator
American Student Loan Services
www.americanstudentloan.com
1.800.575.1099
--
PHP
it's MUCH easier to read
now :)
To imitate Tedd...
Thanks to all who replied
--
Ray Hauge
Programmer/Systems Administrator
American Student Loan Services
www.americanstudentloan.com
1.800.575.1099
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
a column
named create.
I would agree with John on the POST data. Make sure you at least run
mysql_real_escape_string().
--
Ray Hauge
Programmer/Systems Administrator
American Student Loan Services
www.americanstudentloan.com
1.800.575.1099
--
PHP General Mailing List (http://www.php.net
On Friday 07 April 2006 12:56, Chrome wrote:
Of course if the field in the DB isn't numeric this would be
'{$_POST['model']}'
Dan
That's what I was thinking. Even if data is a number, I still generally put
quotes around it to make sure I don't have an issue.
--
Ray Hauge
Programmer
it be outdated because it was
for PHP4, and not PHP5.
Thanks,
--
Ray Hauge
Programmer/Systems Administrator
American Student Loan Services
www.americanstudentloan.com
1.800.575.1099
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Friday 07 April 2006 15:24, Rory Browne wrote:
having both will give you that long_time_user status.
Good point. Thanks :)
--
Ray Hauge
Programmer/Systems Administrator
American Student Loan Services
www.americanstudentloan.com
1.800.575.1099
--
PHP General Mailing List (http
will have been able to form their own conclusions
as to which style they prefer, and either is probably more readable than
putting everyone all on one line :-P
--
Ray Hauge
Programmer/Systems Administrator
American Student Loan Services
www.americanstudentloan.com
1.800.575.1099
--
PHP General
time of the script itself. Any
time spent on activity that happens outside the execution of the script such
as system calls using system(), stream operations, database queries, etc. is
not included when determining the maximum time that the script has been
running.
HTH
--
Ray Hauge
On Monday 10 April 2006 11:48, Eric Butera wrote:
Ray,
Thank you for your response. I did read that in the manual, I promise.
That is why I included the sleep function in my example. Shouldn't the
sleep function count as execution time? One thing I didn't metion earlier,
for the sake
references work, and how to return
references... most specifically check the Returning References section.
http://www.php.net/manual/en/language.references.php
HTH
--
Ray Hauge
Programmer/Systems Administrator
American Student Loan Services
www.americanstudentloan.com
1.800.575.1099
--
PHP General
I believe you're thinking more of the C++ style of returning by reference.
This article should help explain how references work, and how to return
references... most specifically check the Returning References section.
http://www.php.net/manual/en/language.references.php
HTH
--
Ray Hauge
either store it that way, or change it when you output. Then when you
go to run the query change all nbsp; instances back to space.
HTH
--
Ray Hauge
Programmer/Systems Administrator
American Student Loan Services
www.americanstudentloan.com
1.800.575.1099
--
PHP General Mailing List (http
easier than taking out the
person's email address. Probably a good rule to make sure posts are posted
to the list, and not just the person who you're replying to ;)
--
Ray Hauge
Programmer/Systems Administrator
American Student Loan Services
www.americanstudentloan.com
1.800.575.1099
--
PHP
on the net
for something similar that might work.
Anyone know of something like that?
Thanks,
--
Ray Hauge
Programmer/Systems Administrator
American Student Loan Services
www.americanstudentloan.com
1.800.575.1099
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
On Thursday 20 April 2006 18:06, Ray Hauge wrote:
Hello List,
I am trying to find a way for a program to search through the text on a
PDF. My first thought was to use pdftotext, but the PDFs generated by our
commercial scanner/copier/printer machine do not seem to work with
pdftotext
. Luckily I'm still just in the planning stage and we haven't figured out
how all the processes are going to work :)
Thanks again,
--
Ray Hauge
Programmer/Systems Administrator
American Student Loan Services
www.americanstudentloan.com
1.800.575.1099
--
PHP General Mailing List (http://www.php.net
$_REQUEST[$textbox] or $_REQUEST[$textbox]. Variables
are not converted within a single-quoted string.
HTH,
Ray
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
of the image to stdout. I want to
caputre that binary data and somehow display the images inline with the
website. Is this possible, or am I living in a dream world ;)
Thanks,
--
Ray Hauge
Programmer/Systems Administrator
American Student Loan Services
www.americanstudentloan.com
1.800.575.1099
On Tuesday 02 May 2006 18:19, Ray Hauge wrote:
I have an application that shows thumnails of PDF files in different
directories. I have so far decided that I can use convert from
imagemagick to get a .jpg, .png, .gif, etc. to display as the image. The
problem I'm running into is that I don't
On Tuesday 02 May 2006 18:24, Ray Hauge wrote:
On Tuesday 02 May 2006 18:19, Ray Hauge wrote:
I have an application that shows thumnails of PDF files in different
directories. I have so far decided that I can use convert from
imagemagick to get a .jpg, .png, .gif, etc. to display
I've been using this library for a while. I don't need to do much, so I
don't know first hand how well all the features work, but it definitely
will get you a list of people online and let you send messages to them.
http://cjphp.netflint.net/
HTH,
Ray
Original Message
Hey all-
I'm running a SuSE 9.1 box that was built from the RPMs from the CD with
Apache2.0 and PHP 4.3.4. I've made modifications to the server over the last
year without using the CD's and justing installing from the source. However, I
just installed PHP 4.4.2 and I used all the same path calls
On 05.03.2006 at 16:46:21, Eric Butera [EMAIL PROTECTED] wrote:
On 5/3/06, Tom Ray [EMAIL PROTECTED] wrote:
Hey all-
I'm running a SuSE 9.1 box that was built from the RPMs from the CD with
Apache2.0 and PHP 4.3.4. I've made modifications to the server over the
last
year without
On 05.03.2006 at 16:46:21, Eric Butera [EMAIL PROTECTED] wrote:
On 5/3/06, Tom Ray [EMAIL PROTECTED] wrote:
Hey all-
I'm running a SuSE 9.1 box that was built from the RPMs from the CD with
Apache2.0 and PHP 4.3.4. I've made modifications to the server over the
last
year without
On Thursday 04 May 2006 17:41, Richard Lynch wrote:
[NB: Ray said that...]
It's easy if the image is all that is on the page.
E. HTML and in-line images don't really work in a cross-browser
compatible sort of way, and really mess with browser caching and page
load times and are just
On Thursday 04 May 2006 17:52, Ray Hauge wrote:
On Thursday 04 May 2006 17:41, Richard Lynch wrote:
[NB: Ray said that...]
It's easy if the image is all that is on the page.
E. HTML and in-line images don't really work in a cross-browser
compatible sort of way, and really mess
On Thursday 04 May 2006 17:52, Ray Hauge wrote:
[SNIP]
I could use a cache, but I haven't yet. It's for an internal intranet
application, so I'm not worried about page load times too much. With 10
pdfs it still loads in about a minute, and I don't expect there to be many
more than 30 or so
On 05.03.2006 at 20:34:20, Eric Butera [EMAIL PROTECTED] wrote:
Ok so I can't find apxs on the server at all, even though the
4.3.4phpinfo
claims to have been configured with
--with-apxs2=/usr/sbin/apxs2-prefork.
I did
some search via google and I reconfigured using --enable-cli and
first so people can't access different files on the
filesystem.
HTH,
Ray
Original Message
Subject: [PHP] extract text from pdf
From: cajbecu [EMAIL PROTECTED]
Date: Thu, May 11, 2006 1:45 am
To: 'PHP General (E-mail)' php-general@lists.php.net
Hello,
Is there any
work for anchor tags as well.
--
Ray Hauge
Programmer/Systems Administrator
American Student Loan Services
www.americanstudentloan.com
1.800.575.1099
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
.
I would suggest that since you keep a record of the file in the database,
include the file location in that database record. Then before you delete
it, get the file name, delete the file, then delete the record. I think that
would save you a bunch of headaches.
--
Ray Hauge
Programmer
On Thursday 01 June 2006 13:15, Rahul S. Johari wrote:
Ave,
I spent 3 hours trying to find or develop a solution for this problem...
And believe it or not, within 3 minutes of sending the problem to the
mailing list, I actually generated a solution!! Ray, you’re spot on with
what’s actually
don't have to re-compile PHP. If you use an RPM based
distro, this would be very easy. Free-BSD you could just compile the port.
--
Ray Hauge
Programmer/Systems Administrator
American Student Loan Services
www.americanstudentloan.com
1.800.575.1099
--
PHP General Mailing List (http
, but it works.
Thanks,
--
Ray Hauge
Programmer/Systems Administrator
American Student Loan Services
www.americanstudentloan.com
1.800.575.1099
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Tuesday 20 June 2006 15:28, Adam Zey wrote:
Ray Hauge wrote:
On Tuesday 20 June 2006 15:14, Albert Padley wrote:
I have a regular for loop - for($i=1; $i100; $i++)
Within the loop I need to create variables named:
$p1name;
$p2name;
$p3name;
etc.
The integer portion
if XUL would cause extra programming overhead than regular HTML/JS.
--
Ray Hauge
Programmer/Systems Administrator
American Student Loan Services
www.americanstudentloan.com
1.800.575.1099
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Richard Lynch wrote:
On Wed, November 30, 2005 5:10 pm, Chris Lott wrote:
What is the shortest possible check to ensure that a field coming from
a form as a text type input is either a positive integer or 0, but
that also accepts/converts 1.0 or 5.00 as input?
This might be good
http://www.fpdf.org is a very good resource for PDF generation. I use
it all the time. It was faster than writing up my own PDF class. It's
fairly well documented as well.
There's also http://fpdi.setasign.de/ if you want to put text, images,
etc on an existing PDF.
Jay Blanchard wrote:
That would be get_class( [obj] );
http://us3.php.net/manual/en/function.get-class.php
Matt Monaco wrote:
Is there a function or method to determine the class an object was defined
from?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
I am uncertain on this, but I believe that the $this variable is already
just a reference to the class you are calling it from. Then passing the
reference by-reference to the addParent() method of the Child class
could be what is causing your issue. I'd be curious to see what would
happen if
There's been a lot of great articles in the PHP|Architect magazine over
the past 3 months or so about this (http://www.phparch.com) You do have
to purchase back-issues though. Very good articles though. They cover
how to make functions to filter what variables should be sent in, and
how to
That would be something along the lines of:
preg_match(/^192\.168/,$_SERVER['REMOTE_HOST']);
I'm a little rusty on my regex, but that should do it.
Dave Carrera wrote:
i know about
$_SERVER['REMOTE_HOST']
but i think i should of said how do i compare any address starting
with 192.168.
Oops... REMOTE_ADDR should have been used.
Ray Hauge wrote:
That would be something along the lines of:
preg_match(/^192\.168/,$_SERVER['REMOTE_HOST']);
I'm a little rusty on my regex, but that should do it.
Dave Carrera wrote:
i know about
$_SERVER['REMOTE_HOST']
but i think i should
I think base64 would work for you.
http://us3.php.net/manual/en/function.base64-encode.php
http://us3.php.net/manual/en/function.base64-decode.php
Ray
ganu wrote:
Hi ,
I want a function like md5() by which I can encrypt a code and again
when I need from db i can dcrypt also.
but in md5
I use SiteFlip. Their prices are really low, and they offer quite a bit.
www.siteflip.com
Affiliates have some special discount prices as low as $11.40/yr for 250
MB space, 5GB transfer, 1 domain (you register it), PHP, MySQL, and more
(no setup fees).
http://affiliates.siteflip.com
Jose
I'm not sure, but it could have something to do with append mode instead
of write mode. All I know about FIFO files and named pipes is that you
cannot open them for read and write, only one or the other. The file
system could detect append as reading when it's positioning your
pointer at the
John Nichel wrote:
Marten Lehmann wrote:
Hello,
I'm used to work with Date::Calc in Perl. How can I calculate with
dates in PHP, like adding an hour or a year to a date?
Regards
Marten
http://us3.php.net/mktime
You could also use the PEAR Date package. I have used it in a few
getting data from a really slow site, scripts will take a lot longer
than expected (10-15 minutes). I would assume that both ways would
have the same effect, but efficiency is always king ;)
HTH
Ray
Original Message
Subject: [PHP] A curl question
From: tedd [EMAIL PROTECTED
I haven't tried it, so I don't know if -d doesn't work with -u, but if
that is the case, you could change your URL to this:
curl -d what=what http://user:[EMAIL PROTECTED]/myApp.php
or try this:
curl -u userID:password -d what=what --url
http://www.mydomain.com/myApp.php;
HTH
Ray
Hello everyone,
I just wanted to see if anyone knew if there was any difference in
performance between using curl in an exec() statement and when using the
libCurl functions within PHP.
Thanks,
Ray
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
Thanks for the info!
Manuel Lemos wrote:
Hello,
on 01/03/2006 06:52 PM Ray Hauge said the following:
I just wanted to see if anyone knew if there was any difference in
performance between using curl in an exec() statement and when using
the libCurl functions within PHP.
Executing
$_SERVER['REMOTE_ADDR']
http://www.php.net/manual/en/reserved.variables.php#reserved.variables.server
HTH
Nilanjan Dasgupta wrote:
Hi,
Is there any way to client's IP address inside a php document. I
am trying to generate a code that depends on the IP address of the
client.
thanks a
could try number_format() though I haven't looked to see if it rounds up
or not.
--
Ray Hauge
Programmer/Systems Administrator
American Student Loan Services
http://www.americanstudentloan.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
host, do I?
Thanks for any help,
Ray Hauge
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
401 - 500 of 874 matches
Mail list logo