ute I would
love to be educated.
sibling page of your link
http://www.htmlcodetutorial.com/forms/_FORM_ACTION.html
> However, I do not think that is what is being discussed here -- at least it
> is not what I was talking about.
agreed
>
> Cheers,
>
> tedd
>
Ray
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On January 12, 2013 11:25:58 AM Rick Dwyer wrote:
> Hello all.
>
> I used the code below successfully to connect to a MySQL db on one hosting
> provider. I've moved the code to a new hosting provider with new values
> and it returns:
>
> Access denied for user 'user'@'db.hostprovider.net' (using
On November 29, 2012 12:00:44 AM Adam Richardson wrote:
> On Wed, Nov 28, 2012 at 10:50 PM, Ray wrote:
> > Hello,
> > I'm not positive if this is the right list, or if other info is required.
> > If this is the wrong list, please recomend a better one. If other inf
nsion, glyphlist.php for a specific example. I have un-installed and
reinstalled the php5-ps (64 bit) package through the package manager to no
effect.
sample code and system info follows sig.
any assistance appreciated,
Ray
system is Kubuntu 12.10 64bit, kernel version 3.5.0-18, php
")";
$svg .= "\tstyle=\"fill:$color;\"/>\n";
}
$svg .= 'text-anchor="middle">The servers Date and Time is: '.date("Y-m-d,
H:m:s").'
text-anchor="middle">You are running:
text-anchor="middle"
- Original Message -
From: "Ashley Sheridan"
To: "Dotan Cohen"
Cc: "Jim Lucas" ; "php-general."
Sent: Tuesday, October 20, 2009 4:02 AM
Subject: Re: [PHP] Sanitizing potential MySQL strings with no database
connection
On Tue, 2009-10-20 at 12:58 +0200, Dotan Cohen wrote:
> Dot
- Original Message -
From: "Philip Thompson"
To: "PHP General list"
Sent: Monday, October 19, 2009 1:47 PM
Subject: [PHP] Please don't kick me!
Hi all.
I know this question has been asked a thousand times on the list, but my
searches in the archives are not being nice to me. So...
are using mysql of course. If you are using mssql, then I
cannot provide a good answer because I do not use that db.
-Ray Solomon
- Original Message -
From: "Jason Pruim"
To: "PHP-General List"
Sent: Friday, July 17, 2009 8:12 AM
Subject: [PHP] Back from the dea
Nathan Rixham wrote:
Ray Hauge wrote:
Hello everyone,
I've run into a bit of a sticky situation trying to connect to a
remote MySQL database. Here's the background:
Connecting from the command line on the web server works.
Connecting from a different vhost works.
There's
ate and I'm just grasping for straws.
Thanks!
Ray
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Monday 13 April 2009 10:17:28 Ray wrote:
> Hello all,
>
> I'm trying to use the gnupg extension and I think everything is properly
> installed.
>
> I'm just using test data. I'm encrypting and then immediately decrypting.
> But the decryption is failing with
[gnupg.decrypt]: decrypt failed in
/path/to/test2.php on line 18
any help or suggestions would be very much appreciated. details follow.
Ray
full output:
raw data: this is a test
encoded data:
-BEGIN PGP MESSAGE-
Version: GnuPG v2.0.11 (FreeBSD)
hQIOA9qOyyMyQ2/bEAgArxLuVw5e
On Friday 03 April 2009 13:08:45 Gary wrote:
> This is driving me nuts. I am getting blank emails and the only
> information that is being passed to MySQL is the IP address.
>
> Can someone tell me what is wrong with this?
>
>
>
>If you can see this, it's an anti-spam measure. Please don't
across is that the path variable is not the same
when run under the browser as on the command line, so instead of issuing
"command"
you need
"/path/to/command"
Ray
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
s great news, and I think 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
hy it happened. If the error
reporting is what you're 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
age. By interesting 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://w
s not much of a help.
--
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 t
game. It uses
Soundmanager2 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
to get up in the middle 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
allows you to click 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.primateapplicatio
ing JavaScript a lot recently. 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
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 g
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
have
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 ope
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
ryan gacusana wrote:
here is my code
when accessing this url
http://localhost/podcast/podcast.php?mobile=0823172&message=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,sorr
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 "";
echo ""
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 dr
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 rea
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.
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 functi
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
lly somehow though:
http://www.setasign.de/support/manuals/fpdf-tpl/fpdf-tpl/fpdf-tpl-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
--
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 c
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:
James Dempster wrote:
> Personally I use.
>
>
> 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);
array_pop($parts);
$INSTALL_PATH = implode(DIRECTORY_SEPA
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
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 preview
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 al
eues. 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
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
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
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 o
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.
-
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 k
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
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 b
Shelley wrote:
Probably you have noticed this:
The classes in a package are reused together. If you reuse one of the
classes in a package, you reuse them all.
If that's the case, then why not just use one class as one package?
What's the point of splitting a package into several classes? :-(
If you are designing with OO principles, could you give an explanation of
what is the difference classes and packages?
A class is a language construct, classes are processed/executed by php.
A package is an architectural approach - this is how you combine your
code/classes.
When I was summa
Hi Andre,
I am not sure I understand what is the problem. What does it mean -
that worked fine for the last few
years resulting in many requests for forgotten passwords and renewed site
activity.
And what does it mean -
Last year, we sent it again, after a few minor code changes, and had no
Adam Richardson wrote:
If the functionality doesn't conceptually promote the inclusion of the
variables it works on (i.e., no class variables), doesn't conceptually
fit a scheme where instances can exist, and likely won't benefit from
refactoring into component methods, then I could see using a
Gabriel Sosa wrote:
> try doing this..
>
> {if $clearance eq 0}
>
> instead use ==
>
> i saw that some version of smarty has a bug related to this issue
>
> BTW .. you could use the options helper [1]
>
> saludos
> gabriel
Right... I forgot to ask which Smarty version you have. I tried it with
t
Hi George,
I tried your code and it works.
If you have some way of remote assistance I can have a look "on-site",
if you like.
But it could be that you just need a good sleep, and then look again ;)
Iv
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.n
In which situation would somebody use a static method, instead of a
function in a namespace, after the namespaces arrive with 5.3?
Iv
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
cked at the state of their software. Typically
healthcare systems are further behind in the technology adoption, but
having to deal with workarounds all day long sure gets old.
--
Ray Hauge
www.primateapplications.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
bruce wrote:
Couldn't you also create a rather simple test to determine if the locking of
the file takes place?
I personally do not trust file system level locks. Even if a software is
not intended to be portable across operating systems, it is possible to
use different file systems under th
Kaja wrote:
Does anyone know if any of the PHP 5 XML libraries use flock() internally?
I'd like to use XMLReader and XMLWriter but I need to make sure theres no
writing going on while reading and no more than one writer at time. And if
I have to use DOM, does DOM lock the file when it calls sa
I had similar problem some time ago, and there was some solution, which
I can't remember now.
Do you still have the problem?
I'll can have a look, if still needed.
Iv
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hej Sudhakar,
what a long e-mail ;) !
I would suggest you use e-mail address as user name. There are many good
reasons why to do so, I will give you some, if you wish.
Iv
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jason Murray wrote:
I am assuming that each time you click the up or down arrow you are
re-loading the page (via a GET request). A simple solution to this, would
be to adjust the URLs assigned to the up and down arrows to carry an extra
variable, the item either directly above or directly below
afan pasalic wrote:
> But, actually, I need something more simple. Nothing "fancy" :D.
I thought so from the beginning, just thought - it does not hurt to show
different possibilities. May be you will not implement it now, but when
you know about it, it might give you ideas in future.
--
--
Eric Butera wrote:
I use this:
http://developer.yahoo.com/yui/examples/dragdrop/dd-reorder.html
Looks good.
I still can't decide for one of these "big" libraries, prefer to use
"small" things which I can fix/change, if the author does not have time
or desire.
--
--
PHP General Mailing Li
and cannot
be read without OCR. I got stumped on that one for a while when I was
doing something similar :)
--
Ray Hauge
www.primateapplications.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
afan pasalic wrote:
this one bugs me for a while. how to change order.
I have a list of tasks. by status, task could be 1 (todo) or 0 (done) -
status value stored in mysql. I can list tasks per status or all.
order number is stored in mysql too.
the easiest way to change order is to have form fo
John Gunther wrote:
> Example: I extract the 8 bytes 40 58 FF 5C 28 F5 C2 8F from
> an external file
You mean you "extract" "40 58 FF 5C 28 F5 C2 8F", so to speak, as a
string, right?
Sorry, for asking, but somehow I do not the case.
--
--
PHP General Mailing List (http://www.php.net/)
To un
John Gunther wrote:
> What technique can I use to take an 8-byte double precision value, as
> stored internally, and assign its value to a PHP float variable without
> having the bytes misinterpreted as a character string.
Does it get misinterpreted, or do you just want to be sure?
The documenta
Richard Heyes wrote:
> That's a common use of static classes. Eg:
>
> HTTP::Redirect($url);
>
> In fact this (from the article I've read) is exactly how namespaces will
> look like. So in the above example, HTTP could be either a namespace or
> a class.
Right. Namespaces do look similar. And PEAR
Tony M wrote:
> Can I install a newer version of php over an older version?
Perhaps what you need is this -
"Upgrading PHP with the Install
To upgrade, run the installer either graphically or from the command
line as normal. The installer will read your current install options,
remove your ol
> I do not want to copy the project into a new
> directory as the existing directory is where Apache's DocumentRoot is
> set. And although that's simple to change, I really don't think any
> IDE should mandate where I set my project's directory on the
> filesystem.
I use PDT, and there is no prob
Is there a notion of the class as a namespace?
My understanding is that the namespaces are intended to help organize
the classes in large projects (and are not perfect).
Is it considered good style to use a class simply to box related functions?
For instance, a class called "files", contains
Sudhakar wrote:
> if( strlen(trim($name) == 0 ) || !preg_match('/^[a-zA-Z ]+$/x', $name) )
> {
> $error.="Name is blank or has special characters ";
> }
You have messed up the brackets. This -
strlen(trim($name) == 0 )
should be -
strlen(trim($name)) == 0
Then the script does what you want.
Sudhakar wrote:
> i do not want
> this to happen, if a user simply hits the spacebar and does not type
> anything i should be able to display an alert message.
From usability point of view such check will, in many cases, generate
annoyance, and bring nothing.
If I do not want to enter anything
the file
// print it out.
Or you can do it straight from MySQL, which is a lot faster:
SELECT [fields] INTO OUTFILE '/path/to/file.csv' FIELDS TERMINATED BY
',' OPTIONALLY ENCLOSED BY '"' LINES TERMINATED BY '\n' FROM [tables]
WHERE [conditions]
What is the best way to extract just the drive load information (%b
column) from "iostat -x" (on FreeBSD)?
I imagine to exec() the "iostat -x" and then process the result with
regex, but I am not sure if this is the best way - for instance, is %b
is aways the Nth column in the returned value?
max-length of the field, and there are also
configurations to determine what type of field it is (text, phone, date,
textarea, etc.) and security settings based on the user logged in. This
has helped keep my template files very clean, and I still have full
control over the form by not includi
nsupportable. I find the best way to do that is to come up
with some little program that you code up for fun to help get you
through the learning stages. You'll learn more figuring out how to get
something to work than just copying and pasting code.
That's my 2 cents. Hope that hel
expecting with preg_replace or some similar
function.
http://hacktux.com/bashmath
http://sysblogd.wordpress.com/2007/08/26/let-bash-do-the-math-doing-calculations-using-that-bash/
I'm not sure if that's any more secure than eval though.
--
Ray Hauge
www.primateapplications.c
tedd wrote:
At 9:23 AM -0500 4/1/08, Ray Hauge wrote:
Don't forget to check your phpinfo() page for the annual easter egg.
--
Ray Hauge
www.primateapplications.com
You got me.
Cheers,
tedd
Here's the image that I see on PHP 5.1.0. My 5.2.5 site has a distorted
image instead
Don't forget to check your phpinfo() page for the annual easter egg.
--
Ray Hauge
www.primateapplications.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
otime($inputTime);
$time = strtotime('-1 day', $time);
$outputTime = strftime('%Y-%m%d', $time);
I'm not sure which is more efficient, but it helps when you're looking
for "next thursday" or other things like that.
--
Ray Hauge
www.primateapplications.com
--
PHP
.
I also will typically use SSH + vi, but Zend Studio (not sure about
Eclipse) can open an SSH connection and edit files that way.
--
Ray Hauge
www.primateapplications.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
der("Content-type: application/pdf");
header("Content-disposition: inline; filename=FileName.pdf");
header("Content-length: " . strlen($data));
echo $data;
I just realized that the version of FPDI I've been using is a little
old. There's a new update out,
and Cheers,
tedd
Have a look at something like this:
http://simplehtmldom.sourceforge.net/
I haven't used it, but if it works you should be able to pull up a list
of all the tags quite easily through the DOM ala:
foreach($dom->find('a') as $node)
echo $no
eredoc.
I would suggest not using "{$_POST["param1"]}", like you said. It's
just going to make PHP figure out the string, then put the value in that
string. If you really wanted to make sure it's a string type then you
can do (string)$_POST['param1
s? All I
could find was a bunch of bug reports and other stuff that wasn't what I
was looking for. I would have thought there'd be a page for it in the
manual, but I didn't find one there either.
--
Ray Hauge
www.primateapplications.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ctions. The point about it causing confusion with
people coming from other languages definitely applies though. This
article also gives me a second idea for this post. How many people
would want closures in PHP?
In summary:
Would you want closures in PHP, and why?
--
Ray Hauge
www.primateappli
imensional
array down to a single dimension. In order to use the data, you'd have
to use array_keys() or something similar to use it though.
It's an interesting idea, but I don't know how practical it would be.
--
Ray Hauge
www.primateapplications.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
assist in locating odd characters if that's the case, though
I'd think that your editor would display them as well. Usually an
"Unexpected " means that you missed a parenthesis or curly brace, etc.
--
Ray Hauge
www.primateapplications.com
--
PHP General Mailing List (http:/
Greg Donald wrote:
On 3/12/08, Ray Hauge <[EMAIL PROTECTED]> wrote:
You
come to a PHP mailing list to proclaim that RoR is better?
No dumbass, I have already been here for a long time:
This is my last post on this thread. It's obvious nobody is going to
convince anyone el
Ray Hauge wrote:
Greg Donald wrote:
On 3/12/08, Robert Cummings <[EMAIL PROTECTED]> wrote:
Just because someone got a flashy new toy doesn't mean I want it. I've
got better things to do than play with flashy toys for the mere purpose
of playing with flashy toys. I like to us
pect? It's people like you that turn a lot of people off to Ruby.
The community is insane!
This was a great read. If nothing else he's funny.
http://terrychay.com/blog/article/php-ruby-evil-good.shtml
--
Ray Hauge
www.primateapplications.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ou're good.
As far as replies, I like bottom posting because it keeps the
conversation flow more in tact. GMail does a good job regardless of
bottom or top posting though.
--
Ray Hauge
www.primateapplications.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ll
setcookie();
If nothing else it'll help with diagnosing this error when you run into
it again.
--
Ray Hauge
www.primateapplications.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
#x27;\n'
(field1, filed2, field3);
I've had to do imports of a million or more records from CSV files, and
PHP is a lot slower than MySQL at importing them :)
--
Ray Hauge
www.primateapplications.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Philip Thompson wrote:
On Mar 10, 2008, at 8:32 AM, Ray Hauge wrote:
Murat BEŞER wrote:
I can't under stood but PHP gaves me an error:
"UnExcepted $this" for " || $this->getFileExtension($file) == 'jpg' "
When I removed jpg extension check it'
have the
side-effect of being marginally faster too.
$extension = $this->getFileExtension($file);
if ($extension == 'gif' || $extension || 'png' || $extension == 'jpg') {
// do something
}
That might help, but I would think that the way you had it would al
ue might be that
your SMTP server is MS Exchange, and it requires authentication.
If that is the case, then search for php SMTP authentication:
http://www.google.com/search?q=php+smtp+authentication&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a
--
R
l
for you. Maybe even SCP, since you already have the keys on server A
(as long as you don't have a password when connecting to B or C). rsync
can work over SSH as well, and you could create a simple script to run
rsync as often as you need.
haha, I guess that's not exactly seconding N
1 - 100 of 879 matches
Mail list logo