gt;>
> >>> IN advance - I apologize for this off-topic question,
> >>>
> >> but this place is
> >>
> >>> a source of much knowledge, so I just threw in
> >>>
> >> a quick interlude here to
> >>
> >>> pick someone's brain. :)
> >>>
> >>>
> >> --
> >>> PHP General Mailing List (http://www.php.net/)
> >>> To unsubscribe, visit: http://www.php.net/unsub.php
> >>>
> >>>
> >>>
> >> Yes - the sub is an add-on domain to my primary domain. Hence the
> > overlap and problem.
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
>
> --
>
> Willie Matthews
> matthews.wil...@gmail.com
>
--
Thank you,
Dan
Cell: 484-459-2856
<https://www.facebook.com/dpmccullough>
<http://www.linkedin.com/in/danmccullough>
inbowdigitalmedia.co.**uk<http://rainbowdigitalmedia.co.uk>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
>From the desk of Dan Munro
t view on "what
> is a popular language", than I have.
>
>
> >
> > Does it really matter? PHP is very huge, widely used, and I would even
> go
> > so far as to say the 'norm' for website developers, and hosting
> providers.
> >
>
> Nope, it doesn't matter :)
>
>
> >
> > But that is my $0.02, and for me, I have been with PHP for 7 years
> > professionally, and in college I took VB.net, ASP.net, C++, JAVA and PHP.
> > Only recently have I gotten into C# for desktop applications.
> >
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
>
> --
> github.com/KingCrunch
>
--
>From the desk of Dan Munro
rs. Lose your indentation for ANY
> > reason and your program is well and truly screwed, in ways you can't
> > imagine.
> >
> > 2. Python programs fail in the most ungraceful way I've ever seen in an
> > interpreted programming language.
>
> And no ternary operator.
>
> tedd
>
> ___
> tedd sperling
> tedd.sperl...@gmail.com
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
>From the desk of Dan Munro
On Wed, Jul 17, 2013 at 5:54 PM, Dan Joseph wrote:
> Fatal error: Uncaught exception 'Zend_Session_Exception' with message
> 'Zend_Session::start() -
> /product/Messenger-dev/Messenger/library/Zend/Session.php(Line:480): Error
> #2 Class __PHP_Incomplete_Class ha
e 493
This seems to be triggered by:
$this->_identity = Zend_Auth::getInstance()->getIdentity();
Has anyone seen this error before? Its throwing me for a loop
--
-Dan Joseph
http://www.danjoseph.me
http://www.dansrollingbbq.com
http://www.youtube.com/DansRollingBBQ
;
> > tedd
> >
> > _____
> > tedd.sperl...@gmail.com
> > http://sperling.com
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
--
>From the desk of Dan Munro
Hey guys, thanks again for the talk and education. I've purchased the
book, and started reading thru the links given. Take care!
-Dan
On Sun, May 19, 2013 at 12:28 PM, Tedd Sperling wrote:
> To all:
>
> Thanks to Stuart, I finally got it.
>
> The concept of Interface i
Hey Guys,
Thanks for all this good information so far. I'll keep you posted on my
edumacation!
-Dan
On Thu, May 16, 2013 at 11:16 PM, Larry Garfield wrote:
> On 05/16/2013 06:45 PM, Tedd Sperling wrote:
>
>> Thanks to both Bastien and Sebastian:
>>
>> While I un
Thanks! This looks like a good start. Covers some things I have questions
on. I like his approach.
Now I just need something advanced to continue on after this. I'd like to
learn more about extending, interfaces, abstracts, and why/when they should
be used.
Appreciate it!
-Dan
On Thu
Hey Folks,
I'm looking to refine my PHP 5 OOP skills. I know the basics, understand
patterns, but have clearly missed a few things along the way.
Do any of you have some real good PHP 5 OOP tutorials/reads bookmarked you
could share? Something other than php.net/oop5.
Thanks!
--
-Dan J
Yo,
(And, no, PHP doesn't stand
> for Produced by Horses & Ponies.)
>
>
This is completely devastating
--
-Dan Joseph
http://www.danjoseph.me
http://www.dansrollingbbq.com
http://www.youtube.com/DansRollingBBQ
Web bots can ignore the robots.txt file, most scrapers would.
On Mar 13, 2013 4:59 PM, "Jen Rasmussen" wrote:
> -Original Message-
> From: Dale H. Cook [mailto:radiot...@plymouthcolony.net]
> Sent: Wednesday, March 13, 2013 3:38 PM
> To: php-general@lists.php.net
> Subject: [PHP] Accessin
se do not reply to this
> message.Thanks again for shopping
> with us.Amazon.com
>Earth's Biggest SelectionPrefer
> not to receive HTML mail? Click here
>
--
Thank you,
Dan
Cell: 484-459-2856
<https://www.facebook.com/dpmccullough>
<http://www.linkedin.com/in/danmccullough>
inside classes or anything? If they're just functions, they
should work fine together, example of 2 working functions together:
This results in "hi 1" being echoed to the screen.
--
-Dan Joseph
http://www.danjoseph.me
On Thu, May 3, 2012 at 9:13 PM, David OBrien wrote:
> I just found fpdfi using Google. It looks like what you need
>
Wow, you said the key phrase in your last e-mail, 'text on top'. I didn't
think of that. fpdi/fpdf does that like a charm, thanks!
--
-Dan Joseph
http://www.danjoseph.me
s not an option. Thanks.
--
-Dan Joseph
http://www.danjoseph.me
ve never had to install a package before or
> is that something my hoster does?
>
If you're on shared hosting, it'd be something your hosting company does.
I used fpdf for my last pdf job. Although, I personally do not see a
problem with having people just print a nicely formatt
the spaced with underscores but
nothing I do seems to help.
When I echo out the json encoded data, the keys are all nulls.
Can someone point me in the correct direction? It may be that I need
to manually create the key names as an array first, which I was hoping
to avoid since the file form
Thank you.
On Mon, Aug 1, 2011 at 9:20 AM, Lester Caine wrote:
> Dan Baughman wrote:
>
>> Does anyone know where you can download a 64 bit build of apc 3.1.9?
>>
>> I want to take advantage of some of the stuff they've pushed out since
>> 3.1.8
>> for w
Does anyone know where you can download a 64 bit build of apc 3.1.9?
I want to take advantage of some of the stuff they've pushed out since 3.1.8
for windows, but can't find a 64 bit binary to save my life.
there a way to turn on logging such that you can see what module is
failing?
Thanks in advance,
Dan
ft! Nice try.
>
>
You don't think the mailing list software fell for it?
--
-Dan Joseph
gt; print "second: ".date("d-m-Y H:i:s",strtotime('second Tuesday of March
> 2011'))."\n";
> print "third: ".date("d-m-Y H:i:s",strtotime('third Tuesday of March
> 2011'))."\n";
> print "fourth: &
x27;March 2011 third
Tuesday'))."\n";
print "fourth: ".date("d-m-Y H:i:s",strtotime('March 2011 fourth
Tuesday'))."\n";
first Tuesday :01-03-2011 00:00:00
first: 08-03-2011 00:00:00
second: 15-03-2011 00:00:00
third: 22-03-2011 00:00:00
Hi Folks,
I am trying to get the day of month for a particular day of week (e.g.
Tuesday) for the first, second, third, fourth week in a month. The code i
have seems issues in March, but works e.g. in April:
print date("d-m-Y H:i:s",strtotime('1 March 2011 Tuesday'));
>> 01-03-2011 00:00:00
prin
attached to a class. Many of the frameworks, such as Zend, also support
Database Sessions.
--
-Dan Joseph
Howdy,
Mid, Net, thanks for the tips! I actually didn't have the proper .htaccess
settings that ZF wanted, and I needed to add a router :)
Thank you both!
-Dan
On Sat, Mar 12, 2011 at 12:48 AM, Midhun Girish wrote:
> You can also try routing in zend..
> http://codeutopia.net/blog
r the place. I can't find the
answer. Can someone tell me how this is done? Thanks...
--
-Dan Joseph
In my code, I set the optional parameter to NULL and check for triple equals "===" or "!==" to see
if the variable has been passed with a value. IMO, this is the safest way.
function MyFunction($x, $y, $z=NULL) {
if ($z !== NULL) {
// Do Something
}
}
Dan Schaefer
Web Devel
that show
the major and/or minor Linux distributions that support which version of PHP?
FTR, I couldn't find an answer to these questions by Googling or in the
php-general archives.
--
Dan Schaefer
Web Developer/Systems Analyst
Performance Administration Corp.
--
PHP General Mailing
On Nov 20, 2010, at 1:10 AM, chetan ahuja wrote:
> My project requires creating office documents on PHP. Any recommendations on
> what to use?
When you say office documents do you mean you have to create them using
Microsoft office? Or just need to replicate current paper documents?
If you n
nning into the "either go from
source yourself or use volatile repositories" claims, which aren't
good in an enterprise case, though I realize using source isn't "bad"
from that standpoint).
Dan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
db) except me. And I can't help but notice how CentOS (tzdata
package) is also corrupt, every single time it gets updated, on the
Central zone but no others. Obviously these should be entirely
separate issues, but "somebody" out there has it out for the Central
time zone. Probably a Yankees fan.
Dan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Tue, Nov 2, 2010 at 9:19 AM, Nathan Nobbe wrote:
> On Tue, Nov 2, 2010 at 7:52 AM, Dan Yost wrote:
>>
>> So now I suppose the thread becomes: how do I get a valid US/Central
>> (America/Chicago) timezone in PHP5?
>
> give the timezonedb extension a shot
&g
s not fix PHP (tried that just now)--which again I'd
expect it not to anyway, since I believe PHP (as of PHP5) has an
internal timezone DB. But I tried it just in case.
So now I suppose the thread becomes: how do I get a valid US/Central
(America/Chicago) timezone in PHP5?
Thanks much,
Dan
t; 18 [tm_mday] => 1 [tm_mon] => 10 [tm_year] => 110
[tm_wday] => 1 [tm_yday] => 304 [tm_isdst] => 0 )
11/01/10 18:51:14 + UTC
Timezone is America/Chicago, yet date functions completely ignore this
and continue to display UTC.
Please help me understand where I'm blind here.
Thanks,
Dan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Take a look here:
http://us.php.net/manual/en/ref.ftp.php
You might have some issues with the memory limit in PHP so that might have
to be boosted for 20MB files.
On Thu, Aug 26, 2010 at 12:24 PM, Matthew Croud wrote:
>
> Hi,
>
> I want to give my client the ability to upload large files ( aroun
On Thu, Jul 22, 2010 at 10:04 AM, Jordan Jovanov wrote:
> Im thing that I'm little layse, Do you somebody know PHP VIDEO LESSONS?
>
>
I'm not sure exactly what you're meaning there, but check out www.lynda.com
--
-Dan Joseph
http://www.canishosting.com - Unlimited Hos
a load balanced cluster.
Linux servers.
How did you go about it?
--
-Dan Joseph
http://www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month.
Promo Code "NEWTHINGS" for 10% off initial order -- Reseller Plans also
available!
http://www.facebook.com/canishosting
http://www.facebook.com/originalpoetry
p.net/unsub.php>
>
>
Well, your basic logic is:
if ( they have a session )
{
//output the menu
}
else
{
//output the other menu
}
--
-Dan Joseph
http://www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month.
Promo Code "NEWTHINGS" for 10% off initial orde
out... I uploaded an image, it looked at it, and
told me what fonts the letters were using. Thanks Tedd!
--
-Dan Joseph
www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo
Code "NEWTHINGS" for 10% off initial order
http://www.facebook.com/canishosting
http://www.facebook.com/originalpoetry
On Tue, Jun 8, 2010 at 12:19 PM, Daniel Brown wrote:
> On Tue, Jun 8, 2010 at 12:12, Dan Joseph wrote:
> >
> > Anyone know a good way to estimate load based on actually numbers
> compared
> > to benchmark results from intel on a faster server?
>
> Run a DDoS-
need to support the load.
I've done initial testing on a Xeon 3220 server, but we're looking at an i7
cpu based server now.
Anyone know a good way to estimate load based on actually numbers compared
to benchmark results from intel on a faster server?
--
-Dan Joseph
www.canishostin
Cool, thanks for the tips, I am going to check them out.
--
-Dan Joseph
www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo
Code "NEWTHINGS" for 10% off initial order
http://www.facebook.com/canishosting
http://www.facebook.com/originalpoetry
Hi,
Are any of you using any of the php accelorators such as Zend, Ioncube, or
any others? Any idea which is the "best"?
--
-Dan Joseph
www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo
Code "NEWTHINGS" for 10% off initial order
http://www.faceb
other quote.
>
>
>
I can't find where to turn it off either, but I did notice when you type
something like that, when you type in the content in the " ", when you type
the last ", it overwrites the end quote, so you don't end up with two.
phped works this way too. Hel
oes anyone have any ideas where I could go to find a PHP developer with
> Solr experience? Or is anyone here interested?
>
> Sorry if this is the wrong place to post this, but I'm not sure what the
> appropriate place is.
>
> Thanks!
>
Posting here is fine, also try
rser. I will have to check my code when I get back to the office in the
AM and I'll let you know what it was if you haven't figured it out by then.
But that might get you started in fixing it.
--
-Dan Joseph
www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month.
2010/5/6 Ashley Sheridan
> [/snip]
>
> If only I could speak Chinese and was gullible I'd love to take them up
> on the offer for whatever it is.
>
>
>
> I wonder if we're missing out on the billion $ prize...
--
-Dan Joseph
www.canishosting.com - Unlimited
On Wed, May 5, 2010 at 1:06 PM, David McGlone wrote:
> On Wednesday 05 May 2010 12:59:07 Dan Joseph wrote:
> > On Wed, May 5, 2010 at 12:55 PM, David McGlone
> wrote:
> > > 26. if(isset($_GET['ProductID']))
> > > 27. $this-&g
On Wed, May 5, 2010 at 12:55 PM, David McGlone wrote:
> 26. if(isset($_GET['ProductID']))
> 27. $this->mSelectedProduct = (init)$_GET['ProductID'];
>
>
You've got (init) instead of (int). Its always those little char
forward to how much time I'll sink into it :)
>
> --
> Viktor
> http://programming-guides.com
>
I am amazed at how long Starcraft has lasted, and how popular it still is.
Is the MMORPG version Starcraft 2? Or is that yet another one?
--
-Dan Joseph
www.canishosting.com - U
Looks like you might have errors turned off. I see:
$subject =$_POST"subject";
Which should be:
$subject =$_POST["subject"];
$_POST is an array, and that's how you access those elements. check to see
if errors are on, if not, you'll see errors in t
hey get Starcraft going they'll get this out.
--
-Dan Joseph
www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo
Code "NEWTHINGS" for 10% off initial order
http://www.facebook.com/canishosting
http://www.facebook.com/originalpoetry
On Mon, Apr 26, 2010 at 12:36 PM, Ashley Sheridan
wrote:
>
>
> Diablo 3 is out soon...
>
>
> Thanks,
> Ash
> http://www.ashleysheridan.co.uk
>
>
>
oh cool, I did not realize.. have they set a release date yet? I didn't see
one on gamestop.com...
y Ice Age and Cars but crash a lot and end up
> shouting at each other.
>
Ice Age was a fine game! I played that one a few years ago. I'd like to
see another Diablo styled game come out in the modern setting.
--
-Dan Joseph
www.canishosting.com - Unlimited Hosting Plans start @ $3.
On Sun, Apr 25, 2010 at 9:16 AM, tedd wrote:
> My gamer tag is "special tedd"
>
>
Hey Tedd, I'm 'jakmo' on Live. I'll have to give you an add next time I
jump on.
I've been playing Dragon Age and Lost Odyssey. Both are great.
--
-Dan Joseph
ww
. We were building games with it,
which was really a no brainer to use flash. I didn't want to get into
Java.
I'll have to try it under wine sometime. I didn't even think about that.
But then again, my work machine is windows anyway.
--
-Dan Joseph
www.canishosting.com - Un
r
windows, such as Flash development. Plus my PhpED license is for the
Windows client, so I feel kind of trapped there :)
--
-Dan Joseph
www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo
Code "NEWTHINGS" for 10% off initial order
http://www.facebook.com/canishosting
http://www.facebook.com/originalpoetry
n't. So you really just have to adjust to their requirements
and needs. You're right tho, they all have their advantages.
--
-Dan Joseph
www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo
Code "NEWTHINGS" for 10% off initial order
http://ww
On Thu, Apr 22, 2010 at 12:16 PM, Richard Quadling wrote:
> On 22 April 2010 14:48, Dan Joseph wrote:
> This seems to be working ...
>
> function findBestFactors($Value, $GroupSize, array &$Factors = null)
>{
>$Factors = array();
>foreach(
'm going to try
and wake up the algebra side of my brain that hasn't been used in years and
see if I can digest all this.
For the 2, 3, and 7, that is based solely on the last number being divisible
by a prime number?
Joao, Jason, thanks for the code.
--
-Dan Joseph
www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo
Code "NEWTHINGS" for 10% off initial order
http://www.facebook.com/canishosting
http://www.facebook.com/originalpoetry
if
it was a remainder of only 1 or 2, there would be an issue. Which is where
I come to looking for a the right method to break it equally.
--
-Dan Joseph
www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo
Code "NEWTHINGS" for 10% off initial order
http://www.fac
1,252,398 -- divide into equal groups with only 30 items per group max.
Can anyone guide me towards an algorithm or formula name to solve this? PHP
code or Math stuff is fine. Either way...
Thanks...
--
-Dan Joseph
www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo
Code "
On Wed, Apr 21, 2010 at 8:38 PM, David McGlone wrote:
>
> Are we gonna have to have a discussion on the use of "threading"? LOL
>
>
>
We just might. Personally, I use it to sow holes in the toe of my socks.
--
-Dan Joseph
www.canishosting.com - Unlimited Hosting
w.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
lol.. I didn't see your email where you said not to ask
--
-Dan Joseph
www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo
Code "NEWTHINGS" for 10% off initial order
h
ked ok.
http://us3.php.net/manual/en/function.pcntl-fork.php
--
-Dan Joseph
www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo
Code "NEWTHINGS" for 10% off initial order
http://www.facebook.com/canishosting
http://www.facebook.com/originalpoetry
My goodness, are you people still going on about all this? LOL... let it
go... it is what it is.
--
-Dan Joseph
www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo
Code "NEWTHINGS" for 10% off initial order
http://www.facebook.com/canishosting
http://www.fa
Blu-Ray can hold more than DVD and DVD holds more than CD, isn't that right?
>
>
Speaking purely data, yessir. That's your difference.
--
-Dan Joseph
www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo
Code "NEWTHINGS" for 10% off initial
Cracks me up every time.
When you hit reply all, just take out all the other addresses and leave the
list one in there. The list was setup like this years ago on purpose, and
they've stated in the past they don't want to change it..
--
-Dan Joseph
www.canishosting.com - Unlimited Hosti
my questions if i don't find any answer already on this list.
>
>
Hi Nick,
Welcome to the community!
--
-Dan Joseph
www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo
Code "NEWTHINGS" for 10% off initial order
http://www.facebook.com/can
Its good to see we're all playing nice today!
--
-Dan Joseph
www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo
Code "NEWTHINGS" for 10% off initial order
http://www.facebook.com/canishosting
http://www.facebook.com/originalpoetry
; might be a simple one or two line option.
>
>
check out:
http://dev.mysql.com/doc/refman/5.1/en/date-and-time-functions.html
--
-Dan Joseph
www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo
Code "NEWTHINGS" for 10% off initial order
http://www.fa
On Tue, Apr 13, 2010 at 1:46 PM, Robert Cummings wrote:
>
> Toilets flush themselves so that we don't need to touch what someone else
> touched... very likely after *cough* wiping up.
>
>
They have a cure for having to life a finger and wipe also but I won't
cont
e toilets that flush themselves now.
> WTF happened to "grown up" being equal to taking responsibility
> for things?
>
I think you've found the answer to the great question of why people don't
take responsibility anymore... it all started with the toilet!
--
-Dan Josep
On Tue, Apr 13, 2010 at 12:40 PM, Robert Cummings wrote
> I had a pair-a-dimes one time. Unfortunately I was a nickel short of a
> quarter to put in the slot.
>
> But the question is... were they outside the box?
--
-Dan Joseph
www.canishosting.com - Unlimited Hosting Plans start @
come back.
I kinda like that word Paradigm. Rolls off the tongue nicely. I'm going to
use it 3 times today before I leave the office.
--
-Dan Joseph
www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo
Code "NEWTHINGS" for 10% off initial order
http:/
Eh, he's off topic, but we've talked plenty SQL on here before...
SELECT num, COUNT( num ) FROM table GROUP BY num;
I don't have a myqsl server to test that, but should do it.
--
-Dan Joseph
www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo
Code &qu
On Fri, Apr 9, 2010 at 3:25 PM, Andrew Ballard wrote:
> Try this:
>
> $select = $table->select()->where( "home_team_id = ?", $home_team_id )
> ->orWhere( "away_team_id = ?",
> $away_team_id );
>
>
Perfect..
eam_id = ?", $home_team_id )
->where( "away_team_id = ?", $away_team_id
);
This translates the where's to "home_team_id = 12 AND away_team_id = 15"...
What I'd like to have is "home_team_id = 12 OR away_team_id = 15".
Is this possible? Or wou
he list over the years. Its a natural reaction.
You may want to put that kind of thing in your signature also. Rather than
making announcements that bother people, when you participate, your message
will go out. Although, don't make it 100 lines long...
--
-Dan Joseph
www.canishostin
sumed
> 'account_type'
>
f_put_cookie($auth[user_name],$auth[user_email],$auth[account_type],$auth[co
mpany_name]);
That's your culprit. You'll need quotes around those. $auth["username"],
"user_email", "account_type", "company_name"
Othe
mation...
Its the else line. else doesn't take a condition after it. it should just
be "else {".
--
-Dan Joseph
www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo
Code "NEWTHINGS" for 10% off initial order
http://www.facebook.com/canishosting
http://www.facebook.com/originalpoetry
ee.
>
>
Its your if's, elseif's, else's. You have "and", change that to &&.
--
-Dan Joseph
www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo
Code "NEWTHINGS" for 10% off initial order
http://www.facebook.com/canishosting
http://www.facebook.com/originalpoetry
. I prefer to go
> another way. anyone has a clue ?
>
What if you simply set the script to time out? Is it ignoring that too?
set_time_limit( seconds )
--
-Dan Joseph
www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo
Code "NEWTHINGS" for 10% off initial order
http://www.facebook.com/canishosting
http://www.facebook.com/originalpoetry
t
misses a lot of things when it comes to complex, or abnormal XML. Abnormal
being what you're describing and whatnot. I don't really have a solid
answer for you (Just noticed no one responded), but I think you're running
into what I was... Its just built to be Simple,
Table is the way to go for all the reasons that Rob mentioned.
>
> This is going to be a small blog to start, but I guess I should always be
>> looking at performance, security, & maintainability right?
>>
>
>
Good way to start is start small and build a strong base around a good
database, good
Is it possible to use PHP to answer HEAD http requests? Is it as
simple as doing something like:
header('blah')
exit;
I'd expect PHP to produce a full page rather than just a header though.
--
Dan FieldFfôn/Tel. +44 1970 632 582
Peirian
To add to what Ashley said about $row[3], remember that when you are
returning from the db the counter for fields will start at 0 not 1, so if
its the 3rd field that will be $row[2]. You might also want to do switch
rather then elseif but thats always a good debate.
On Fri, Nov 20, 2009 at 3:16
All,
I am using sessions for my application to verify a user has logged in:
// Verify the user is logged in.
if (!isset($_SESSION['basic_is_logged_in'])
|| $_SESSION['basic_is_logged_in'] !== true) {
// If not logged in, redirect to the login page.
header('Location: login.php');
e
Like Israel it depends on the client I am doing several projects for a
client now that the hosting company is still using 4.0.6 - and its been a
headache. Most of the personal projects and many of my other clients are on
5.1 or higher.
On Thu, Oct 29, 2009 at 12:22 PM, Tom Barrett wrote:
> 2009
I believe NuSoap is still available
source: http://sourceforge.net/projects/nusoap/
http://greghuet.blogspot.com/2007/12/soap-php5-and-nusoapphp.html
You can also look here at PHPs SOAP functions
http://php.net/manual/en/refs.webservice.php
On Wed, Oct 21, 2009 at 9:26 PM, Daniel Echalar wrote:
>
> if it can take only numeric values u can use is_numeric()
>
> also i suggest that you not to use nulls in dbs. instead, use "not null"
> and "default value" property. Its more simple and more effective for both
> managing your database and coding your program.
>
>
It's a CHAR (60) field.
This
>
> From reading the other responses to this thread, it seems that you want
> to
> "skip" or "exclude" rows in the results where my_column === null.
>
> If this is correct, why not do it in the SELECT statement to begin with?
>
> $my_query = "SELECT my_column FROM my_database WHERE my_column IS NO
>
> using empty() is ´the right way to check a var for NULL or ""
>
> however, it also depends what MySQL has got as setuo definition for empty
> fields. on textfields u can define an epmty string as default.
>
> So say these are the first three results of my query:
"some text" //The column actual
Morning!
Just a quick question.
Say I have a column in my database that could contain NULLS, empty spaces,
or an actual value.
If I do:
$my_query = "SELECT my_column FROM my_database WHERE 1 = 1";
$my_result = ifx_query($my_query, $connect_id);
while($row = ifx_fetch_row($my_result)) {
$my_c
e($month),date($day)+30,date($year));
Now I put it back into a date format.
$future_date = date('m/d/Y',$future_date);
echo $future_date;
Today is September 1st and the value of $future_date is October 1st because
there are 30 days in Spetember.
Now you can compare your dates.
if ($nexteval > $future_date) {
echo "This date has already passed";
} else {
*do some processing*
}
Hope that helps.
Dan
>
> You will need to add some headers to the page to popup the prompt, at least
> with
> these.
>
> $filename = 'somefile.tif';
> $filesize = filesize($filename);
>
> header('Content-Type: application/force-download');
> header('Content-disposition: attachement; filename=' . $filename);
> header('C
le:
if ($page != "" || $page != " ") {
exec("xcopy ".$page." ".$topage."");
}
$orig_file = $topage."\\".$objectid.".0D9";
//echo $orig_file;
$new_file = $topage."\\".$objectid.".tif";
//echo $new_file;
rename($orig_file,$new_file);
Any ideas on how to make the browser give the download prompt for $new_file?
Thanks,
Dan
1 - 100 of 2162 matches
Mail list logo