/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
snip
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
, 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 5.4.6
On November 29, 2012 12:00:44 AM Adam Richardson wrote:
On Wed, Nov 28, 2012 at 10:50 PM, Ray r...@stilltech.net 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 info is
desired, just
/tmp/image.png);
echo file_get_contents('/tmp/image.png');
?
-Ray Solomon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
- Original Message -
From: Ashley Sheridan a...@ashleysheridan.co.uk
To: Dotan Cohen dotanco...@gmail.com
Cc: Jim Lucas li...@cmsws.com; php-general.
php-general@lists.php.net
Sent: Tuesday, October 20, 2009 4:02 AM
Subject: Re: [PHP] Sanitizing potential MySQL strings with no database
- Original Message -
From: Philip Thompson philthath...@gmail.com
To: PHP General list php-general@lists.php.net
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
are using mssql, then I
cannot provide a good answer because I do not use that db.
-Ray Solomon
- Original Message -
From: Jason Pruim ja...@jasonpruim.com
To: PHP-General List php-general@lists.php.net
Sent: Friday, July 17, 2009 8:12 AM
Subject: [PHP] Back from the dead
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 no information
!
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 a unhelpful error message.
error message
]: 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/bEAgArxLuVw5eShkL+/g9SCGcBm5
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?
form method=post action=?php echo $_SERVER['PHP_SELF']; ?
div id=important
/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
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
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
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
.
--
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
. 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
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
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
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
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
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
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
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? :-(
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
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
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
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:
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
the last.
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
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
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
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
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 List
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.
--
--
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
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
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
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
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 old
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 problem
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
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
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
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
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
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.
Iv
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,
TERMINATED BY
',' OPTIONALLY ENCLOSED BY '' LINES TERMINATED BY '\n' FROM [tables]
WHERE [conditions]
If you want a header row, then you can use a UNION statement.
--
Ray Hauge
www.primateapplications.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
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?
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 including the fields I don't want.
--
Ray Hauge
www.primateapplications.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
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 helps.
--
Ray Hauge
www.primateapplications.com
--
PHP General Mailing
://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.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
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 of the dog
($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 General Mailing List (http://www.php.net
.
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
-disposition: inline; filename=FileName.pdf);
header(Content-length: . strlen($data));
echo $data;
/code
I just realized that the version of FPDI I've been using is a little
old. There's a new update out, so some of the above code might change a
little.
--
Ray Hauge
www.primateapplications.com
--
PHP
,
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 a tags quite easily through the DOM ala:
foreach($dom-find('a') as $node)
echo $node-href . 'br';
--
Ray Hauge
(string)$_POST['param1'].
The short answer is you can do it the way you're doing and everything
will work out just fine :)
--
Ray Hauge
www.primateapplications.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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.primateapplications.com
--
PHP General Mailing
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
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
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 else of their being
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://www.php.net/)
To unsubscribe, visit: http
already been sent to the client (I ran
into an included file having a space after ?) you can use
http://us3.php.net/manual/en/function.headers-sent.php before you call
setcookie();
If nothing else it'll help with diagnosing this error when you run into
it again.
--
Ray Hauge
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
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
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 use tools that get
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
' || $extension || 'png' || $extension == 'jpg') {
// do something
}
That might help, but I would think that the way you had it would also
work. Let us know what happens when you use the variable like I showed
above.
Thanks,
--
Ray Hauge
www.primateapplications.com
--
PHP General Mailing List (http
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's okay... PHP script runs well.
What is the problem
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+authenticationie=utf-8oe=utf-8aq=trls=org.mozilla:en-US:officialclient=firefox-a
--
Ray Hauge
www.primateapplications.com
--
PHP
= escapeshellcmd('/path/to/module/configure');
$output = shell_exec($cmd);
echo done!;
?
Something like that anyway. That's overly simplified of course, but it
should get you a start if you want to write it yourself.
--
Ray Hauge
www.primateapplications.com
--
PHP General Mailing List (http://www.php.net
1 - 100 of 874 matches
Mail list logo