://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
___
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
/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
github.com/KingCrunch
--
From the desk of Dan Munro
://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk
Rainbow Digital Media -
http://rainbowdigitalmedia.co.**ukhttp://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
On Wed, Jul 17, 2013 at 5:54 PM, Dan Joseph dmjos...@gmail.com 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 has no unserializer
= 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
tried
of it.
Back to the books.
Thanks.
Cheers,
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 t...@sperling.com wrote:
To all:
Thanks to Stuart, I finally got it.
The concept of Interface is a bit
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 Joseph
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, May
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 la...@garfieldtech.comwrote:
On 05/16/2013 06:45 PM, Tedd Sperling wrote:
Thanks to both Bastien and Sebastian:
While I understand
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 j...@cetaceasound.com 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:
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
. Thanks.
--
-Dan Joseph
http://www.danjoseph.me
On Thu, May 3, 2012 at 9:13 PM, David OBrien dgobr...@gmail.com 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
functions, they
should work fine together, example of 2 working functions together:
?php
hellotwo();
function helloone()
{
echo hi 1;
}
function hellotwo()
{
helloone();
}
?
This results in hi 1 being echoed to the screen.
--
-Dan Joseph
http://www.danjoseph.me
.
--
-Dan Joseph
http://www.danjoseph.me
as an array first, which I was hoping
to avoid since the file format coming from the client is still in some
flux.
Just a thought: Try removing the spaces altogether, not by replacing
them with underscores.
--
Dan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
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.
Thank you.
On Mon, Aug 1, 2011 at 9:20 AM, Lester Caine les...@lsces.co.uk 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 windows, but can't find a 64 bit
Is there a way to turn on logging such that you can see what module is
failing?
Thanks in advance,
Dan
for it?
--
-Dan Joseph
')).\n;
2011/4/2 Dan Dan dani.mani...@gmail.com:
I removed the day (1 before the March), but its still giving the same
result, i.e. different days of month with and without the 'first'. Any
further help ?
print first Tuesday :.date(d-m-Y H:i:s,strtotime('March 2011
Tuesday')).\n;
print
second: 15-03-2011 00:00:00
third: 22-03-2011 00:00:00
fourth: 29-03-2011 00:00:00
Thanks
-dani
On Fri, Apr 1, 2011 at 9:37 AM, Daniel Brown danbr...@php.net wrote:
On Fri, Apr 1, 2011 at 12:35, Dan Dan dani.mani...@gmail.com wrote:
Hi Folks,
I am trying to get the day of month
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 midhungir...@gmail.comwrote:
You can also try routing in zend..
http
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 Developer/Systems Analyst
, 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 List (http
On Nov 20, 2010, at 1:10 AM, chetan ahuja chetanahuj...@gmail.com 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
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
--
PHP General Mailing List (http://www.php.net
On Tue, Nov 2, 2010 at 9:19 AM, Nathan Nobbe quickshif...@gmail.com wrote:
On Tue, Nov 2, 2010 at 7:52 AM, Dan Yost yod...@gmail.com 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
http
. 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
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
[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
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 m...@obviousdigital.comwrote:
Hi,
I want to give my client the ability to upload
On Thu, Jul 22, 2010 at 10:04 AM, Jordan Jovanov jovanovj...@gmail.comwrote:
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 Hosting
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
://www.php.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 order -- Reseller Plans also
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
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.canishosting.com - Unlimited Hosting
On Tue, Jun 8, 2010 at 12:19 PM, Daniel Brown danbr...@php.net wrote:
On Tue, Jun 8, 2010 at 12:12, Dan Joseph dmjos...@gmail.com 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-style
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
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. Helps me at least.
--
-Dan Joseph
www.canishosting.com
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.facebook.com/canishosting
http
2010/5/6 Ashley Sheridan a...@ashleysheridan.co.uk
[/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 Hosting Plans
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. Promo
Code NEWTHINGS for 10% off initial order
http
On Wed, May 5, 2010 at 12:55 PM, David McGlone da...@dmcentral.net wrote:
26. if(isset($_GET['ProductID']))
27. $this-mSelectedProduct = (init)$_GET['ProductID'];
You've got (init) instead of (int). Its always those little characters
causing trouble!
--
-Dan Joseph
On Wed, May 5, 2010 at 1:06 PM, David McGlone da...@dmcentral.net wrote:
On Wednesday 05 May 2010 12:59:07 Dan Joseph wrote:
On Wed, May 5, 2010 at 12:55 PM, David McGlone da...@dmcentral.net
wrote:
26. if(isset($_GET['ProductID']))
27. $this-mSelectedProduct
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 - Unlimited Hosting Plans start @ $3.95/month. Promo
Code
On Sun, Apr 25, 2010 at 9:16 AM, tedd t...@sperling.com 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
www.canishosting.com - Unlimited
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.95/month. Promo
On Mon, Apr 26, 2010 at 12:36 PM, Ashley Sheridan
a...@ashleysheridan.co.ukwrote:
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...
--
-Dan Joseph
they 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
don'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://www.facebook.com/canishosting
http
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
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 - Unlimited Hosting Plans start @ $3.95/month. Promo
Code NEWTHINGS for 10% off
-- 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 NEWTHINGS
, but 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
, 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
On Thu, Apr 22, 2010 at 12:16 PM, Richard Quadling rquadl...@googlemail.com
wrote:
On 22 April 2010 14:48, Dan Joseph dmjos...@gmail.com wrote:
This seems to be working ...
?php
function findBestFactors($Value, $GroupSize, array $Factors = null)
{
$Factors = array
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 Hosting Plans start @ $3.95/month. Promo
Code NEWTHINGS for 10% off
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.facebook.com
it worked 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
, 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
http://www.facebook.com/canishosting
http://www.facebook.com
On Wed, Apr 21, 2010 at 8:38 PM, David McGlone da...@dmcentral.net 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 Plans start
there
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.facebook.com/canishosting
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
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/canishosting
http://www.facebook.com
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://www.facebook.com
On Tue, Apr 13, 2010 at 12:40 PM, Robert Cummings rob...@interjinn.comwrote
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
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 Joseph
www.canishosting.com - Unlimited Hosting Plans
--
-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
spam the 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
)
-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 would I just need to build them all into a single
where() manually?
--
-Dan Joseph
On Fri, Apr 9, 2010 at 3:25 PM, Andrew Ballard aball...@gmail.com wrote:
Try this:
?php
$select = $table-select()-where( home_team_id = ?, $home_team_id )
-orWhere( away_team_id = ?,
$away_team_id );
Perfect...thank you!
--
-Dan Joseph
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
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
--
-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
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
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, not expand its mind.
Hope that helps!
--
-Dan Joseph
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 Field d...@llgc.org.uk Ffôn/Tel. +44 1970 632 582
Peiriannydd Meddalwedd
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');
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
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
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)) {
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 actually has
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
.);
}
$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
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);
How does that work considering that mysql_query() only
returns true or false on INSERT? I'd expect the script
to fail on $result not being a valid resource.
I don't know about mysql as I work with MSSQL Server and Informix, but for
me it works like this:
$insert = ifx_prepare(INSERT INTO
that within your foreach loop after you execute your query that
inserts the info.
Hope that helps.
Dan
Why isn't this working for searching?
// Run query on submitted values. Store results in $SESSION and redirect
to restaurants.php$sql = SELECT name, address, inDate, inType,
notes, critical, cviolations, noncritical FROM restaurants, inspections
WHERE restaurants.name '' AND
On Tue, Jul 21, 2009 at 12:41 PM, Miller, Terion
tmil...@springfi.gannett.com wrote:
Turned off the redirects on the whole script and tried to the the query to
echo and these are the errors I got:
Notice: Undefined offset: 1 in /var/www/vhosts/
? Yes.. I did google already...
--
-Dan Joseph
www.canishosting.com - Plans start @ $1.99/month.
On Thu, Jul 16, 2009 at 3:51 PM, Robert Cummings rob...@interjinn.comwrote:
Aspell.
Can anyone point me in the right direction? Yes.. I did google already...
Thanks!
--
-Dan Joseph
www.canishosting.com - Plans start @ $1.99/month.
; ?')$letter/a
?php
}
?
Something like that. I haven't tested any of that code just typed it up real
quick to give you an idea of one way to possibly do it.
Hope that helps.
Dan
1 - 100 of 2130 matches
Mail list logo