Re: [PHP] A Good OOP Tutorial/Read?

2013-05-21 Thread Dan Joseph
ral Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- -Dan Joseph http://www.danjoseph.me http://www.dansrollingbbq.com http://www.youtube.com/DansRollingBBQ

[PHP] zend framework & getIdentity

2013-07-17 Thread Dan Joseph
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

[PHP] Re: zend framework & getIdentity

2013-07-19 Thread Dan Joseph
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

[PHP] Zend Framework - getParam() Question

2011-03-11 Thread Dan Joseph
r the place. I can't find the answer. Can someone tell me how this is done? Thanks... -- -Dan Joseph

Re: [PHP] Zend Framework - getParam() Question

2011-03-12 Thread Dan Joseph
/ <http://www.website.com/index/user/1>1 >> >> >> <http://www.website.com/index/user/1>and then you can use the same >> getParam >> method to grab the value and carry out further processing. >> >> Hope this helps. >> >> Cheers >&g

Re: [PHP] PHP session replication

2011-03-17 Thread Dan Joseph
attached to a class. Many of the frameworks, such as Zend, also support Database Sessions. -- -Dan Joseph

Re: [PHP] Cwtc

2011-06-14 Thread Dan Joseph
ft! Nice try. > > You don't think the mailing list software fell for it? -- -Dan Joseph

[PHP] PHP Version: 5.2.5.

2011-10-17 Thread Joseph Adenuga
Operating System: Window XP PHP Version: 5.2.5. with Apache 2.2.8 My Firefox browser returns (Output) the same php script code I inserted in Notepad:  Hello Web!"; ?>   Please, what am I doing wrong?

[PHP] PHP 5.2 and Apache 2.2 are really compatible?

2011-10-19 Thread Joseph Adenuga
information on the internet with more configuration info. I don’t know what else to do. Please I’m very new to PHP codeand Apache environment. I need your help. I don’t know what I’m doing wrong and what to do. Please please help. Joseph

Re: [PHP] PDF Printing instead?

2012-01-05 Thread Dan Joseph
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

[PHP] Node.PHP

2012-03-21 Thread Joseph Moniz
<--> C barrier seems to be a much lighter operation then crossing the V8 <--> C++ barrier. Any help or feedback will be greatly appreciated. The projects source code can be found here: https://github.com/JosephMoniz/node.php - Joseph Moniz -- PHP General Mailing List (http://www

Re: [PHP] Node.PHP

2012-04-03 Thread Joseph Moniz
call it, not surprisingly, hip-hop-virtual-machine ( http://www.facebook.com/note.php?note_id=10150415177928920 ) and it already doing almost no optimizations is closer to performance of compiled PHP via hiphop then it is to interpreted PHP via the de facto interpreter. - Joseph Moniz

Re: [PHP] Node.PHP

2012-04-03 Thread Joseph Moniz
*bad link in last post http://luvit.io/ -Joseph Moniz On Tue, Apr 3, 2012 at 12:16 PM, Joseph Moniz wrote: > On Fri, Mar 30, 2012 at 5:56 PM, German Geek wrote: >> Maybe stupid question, but is node.php really necessary? If you can program >> PHP and it performs better th

Re: [PHP] How to call a function from $classname

2005-03-15 Thread Dan Joseph
> What do I have to do to call a function from $classname? > > Like: $classname->test( ); Two methods: First: $classname = new ClassName(); $classname->test(); Second: ClassName::test(); -- -Dan Joseph "Build a man a fire, and he will be warm for the rest of the day.

[PHP] mail() Alternative?

2005-03-23 Thread Dan Joseph
Hi All, I've had a production system moved to a new server. Our geniuses here have refused to allow sendmail on the server and all my e-mail functions are now gone. Is there a way around this? I have already checked the manual, I don't see anything -- -Dan Joseph "Bui

Re: [PHP] mail() Alternative?

2005-03-23 Thread Dan Joseph
> You can always look into utilizing PEAR::Mail. Once implemented, tt makes > it very easy to switch how you send email out. I recently had to do that > and > it was as easy as doing a global search and replace. Oh ok. I will look into Pear, thank you Chris! -- -Dan Joseph &q

Re: [PHP] Insertion of integer in a database

2005-03-23 Thread Joseph Connolly
I don't think the integer is the problem, but if it is you can turn time() into a variable and then, $time = time(); david joffrin wrote: Hi folks, Problem is fairly simple, but how can I insert integer in an SQL statement? So, I only had strings, but now I have introduced a timestamp column

Re: [PHP] Best Server OS

2005-03-28 Thread Dan Joseph
Fedora Linux. -- -Dan Joseph "Build a man a fire, and he will be warm for the rest of the day. Light a man on fire, and will be warm for the rest of his life." -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Help with SQL Query String

2005-03-31 Thread Joseph Connolly
You should not just give him the code but rather tell him why. 1. trim() is a php function. MySQL does not know what to do with it. You need to place it 'outside' of the sql. You can also do something like this: $userid = trim($row['USERID']); Then use $userid in your sql. 2. Items in arrays must

Re: [PHP] Help with SQL Query String

2005-03-31 Thread Joseph Connolly
well...i would have told him to go pound sand...the php manual is great and so is the MySQL manual. People are just lazy. [/snip] Ya'll bitch when I make them RTFM, ya'll bitch when I do codewhat's a guy to do? j/k Actually http://dev.mysql.com/doc/mysql/en/string-functions.html shows that My

Re: [PHP] sql question

2005-04-07 Thread Joseph Connolly
if i understand you question... SELECT columns FROM table WHERE (condition #1) AND (condition #2); You can add many conditions. There are many ways to do this. This one is probably the most simple for only two conditions. Depending on your needs you also may need to create a subquery. SELECT col

Re: [PHP] Re: php rich text editors

2005-04-07 Thread Joseph Connolly
1- i like php designer. It is free cross platform and does everything i need. They also make a html editor calle 'html gate' mpsoftware.dk 2- you could use google 3-go to http://www.php-editors.com/ which has many tools and forums DuSTiN KRySaK wrote: Problem with that one - does not work in safa

Re: [PHP] another non php Q

2005-04-07 Thread Joseph Connolly
www.w3.org http://www.w3.org/MarkUp/html3/textarea.html wrong list though William Stokes wrote: Is there a way to limit a size with som sort of a maxlength value I know it's not php but thanks anyway -Will -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php

Re: [PHP] Simple Problem

2005-04-12 Thread Joseph Connolly
I think what you mean/need is: $sql="SELECT products.productID, products.title, products.number_per_box, products.stock_level, products.image, users.username, users.email, users.userID FROM users, products WHERE products.userID = users.userID AND userID = $userID"; John Nichel wrote: PartyPo

Re: [PHP] phpmyadmin blank screen.

2005-04-13 Thread Joseph Connolly
1- are you loading the mssql extensions or the mysql extensionsyou keep interchanging the two and they ARE NOT the same 2- in addition you may have to load the mysqli extension if you want to run phpMyAdmin. 3- re read the php manual and the phpMyAdmin If the screen is blank trying to read t

Re: [PHP] uploading file

2005-04-13 Thread Joseph Connolly
I though you could limit it in the php.ini file. OR, you can determine it's length through php and then discard it. I remember reading something about limiting file size and overidding that limit in the script. If i find it i will post it here. Richard Davey wrote: Hello Marc, Wednesday, April

Re: [PHP] uploading file

2005-04-13 Thread Joseph Connolly
Thanks for the info. That makes sense. John Nichel wrote: Joseph Connolly wrote: I though you could limit it in the php.ini file. OR, you can determine it's length through php and then discard it. I remember reading something about limiting file size and overidding that limit in the scrip

Re: [PHP] step by step learning

2005-04-26 Thread Joseph Connolly
hey paul, php is not like html. HTML is a markup language and PHP is a scripting languange. Once you get through installing PHP, it is not like HTML where you start with the basic tags and learn them one by one. PHP has functions and you need to know which funcitons you need for the right job

Re: [PHP] Re: PHP Designer 2005

2005-04-26 Thread Joseph Connolly
Sorry, but i have had NO problems with PHP Designer 2005 I have it running on 3 machines...never a problem with memory usagei think it is the greatest thing since sliced bread. Jason Barnett wrote: The Disguised Jedi wrote: Some might consider this OT, but I need to figure this out somehow,

Re: [PHP] Re: PHP Designer 2005

2005-04-26 Thread Joseph Connolly
resources. If he likes the program, knowing other people use it fine in many settings may lead him to look for other root causes John Nichel wrote: Joseph Connolly wrote: Sorry, but i have had NO problems with PHP Designer 2005 I have it running on 3 machines...never a problem with memory usagei

Re: [PHP] how to read a specific "cell"

2005-04-26 Thread Joseph Connolly
seb, it would help to post the actual table structure jozef Sebastien Pahud wrote: Hello, I cannot figure out how to read a specific "cell" in a result i got from a SQL request. I have a SQL request on a database: SELECT nameAttribute, fr, de, en FROM traduction WHERE nameTable = 'whatever' A

[PHP] GD createpng and getting different png formats

2004-05-14 Thread Sam Joseph
Hi all, I've recently got the GD libraries set up and working with php and I have been resizing and reformating images to my hearts content. One thing I notice however is that when I output png images they seem by default to come out in the larger size PNG32 format, as opposed to the lightweigh

Re: [PHP] GD createpng and getting different png formats

2004-05-14 Thread Sam Joseph
, it's all off the top of my head but I think it will give you enough to go on. -Galen On May 14, 2004, at 3:05 PM, Sam Joseph wrote: Hi all, I've recently got the GD libraries set up and working with php and I have been resizing and reformating images to my hearts content. One thing

Re: [PHP] GD createpng and getting different png formats

2004-05-14 Thread Sam Joseph
, but the gist is that you need a palette-based image to get 8-bit PNGs! -Galen On May 14, 2004, at 4:27 PM, Sam Joseph wrote: Hi Galen, Many thanks for your reply. I tried to find things in the php manual relating to bit depth, but I didn't find anything relevant: http://www.google.co.jp/

[PHP] TIFF display problem...

2004-06-21 Thread Dan Joseph
read in images from a secured directory and display it on the page. I was using JPGs before and now need to display TIFF files. We have the plugins for IE all setup. Could someone tell me how I could fix this? I'm at a complete loss... -Dan Joseph -- PHP General Mailing List (htt

RE: [PHP] TIFF display problem...

2004-06-21 Thread Dan Joseph
Hi, Yeah, positive, I should probably clarify more. session_start(); is what causes it not to display, and gives me the error. The error is that the site cannot download the file. -Dan Joseph > -Original Message- > From: Matt Matijevich [mailto:[EMAIL PROTECTED]

RE: [PHP] TIFF display problem...

2004-06-21 Thread Dan Joseph
Hi, The only problem with turning them off is I need the page to be secured. My only option is session tracking. -Dan Joseph > -Original Message- > From: Matt Matijevich [mailto:[EMAIL PROTECTED] > Sent: Monday, June 21, 2004 4:42 PM > To: [EMAIL PROTEC

RE: [PHP] TIFF display problem...

2004-06-21 Thread Dan Joseph
Hi, that probably would work better, however, the if control isn't what's fouling it up. I can omit that and leave session_start() in there, and its fouled up. Session_start() is the culprit. -Dan Joseph > -Original Message- > From: Daniel Clark [mailto:

RE: [PHP] TIFF display problem...

2004-06-21 Thread Dan Joseph
Hey Matt, That was the trick, thanks.. I passed that function... what is it... session limit cache something or another. Worked like a charm! Thanks much! -Dan Joseph -Original Message- From: Matt Matijevich [mailto:[EMAIL PROTECTED] Sent: Monday, June 21, 2004 5:02 PM To

[PHP] TIFF images

2004-06-25 Thread Dan Joseph
o display the TIFF images also. Can anyone please help? -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHPEclipse?

2004-07-12 Thread Dan Joseph
Hi, I was wondering, is anyone running Eclipse 3.0 w/PHPEclipse 1.1.0? I'm having trouble getting it working. I downloaded the July .ZIP file and unzipped it into the plugins directory. Its not recognizing it. Anyone have this working? -Dan Joseph -- PHP General Mailing List

RE: [PHP] OO woes

2004-07-12 Thread Dan Joseph
Hi, Doesn't sound like an OO issue, sounds like you're kiling the query with the '. You should go thru and maybe do an str_replace( "'", "\'", $_POST['test'] ) on all your post variables. -Dan Joseph > -Original Message--

RE: [PHP] PHPEclipse?

2004-07-12 Thread Dan Joseph
LOL.. I read all these "PHPEclipse is great!" reviews. It relaly does look good. Bummer you couldn't get it working either. I have EPIC installed, a Perl plug-in, its working fine, so I know plugins are working. Ahh well, maybe someone will read the list and have an answe

RE: [PHP] PHPEclipse?

2004-07-12 Thread Dan Joseph
How did you get it installed? Did you just extract the zip into the plugins directory? -Dan Joseph > -Original Message- > From: Andrei Verovski (aka MacGuru) [mailto:[EMAIL PROTECTED] > Sent: Monday, July 12, 2004 4:36 PM > To: [EMAIL PROTECTED] > Cc: Dan Joseph >

RE: [PHP] Detecting if browser is using a HTTP or HTTPS connection to view the page

2004-07-13 Thread Dan Joseph
Hi, if ($_SERVER["HTTPS"] != "on") { $newurl = "https://"; . $_SERVER["SERVER_NAME"] . $_SERVER["REQUEST_URI"]; header("location: $newurl"); die; } That's how I do it.

RE: [PHP] Detecting if browser is using a HTTP or HTTPS connection to view the page

2004-07-13 Thread Dan Joseph
Hi, That code I sent is running on a Cobalt Linux server. -Dan Joseph > -Original Message- > From: Jamie [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 13, 2004 3:37 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] Detecting if browser is using a HTTP or > HTTPS

RE: [PHP] Detecting if browser is using a HTTP or HTTPS connection to view the page

2004-07-13 Thread Dan Joseph
Hi, Can you post your code so we can look at it? -Dan Joseph > -Original Message- > From: Jamie [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 13, 2004 4:48 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] Detecting if browser is using a HTTP or > HTTPS conn

RE: [PHP] textarea/display question...

2004-07-20 Thread Dan Joseph
Hi, With textarea, there is no value... $foo -Dan Joseph > $foo = 'blah'; > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Money format

2004-07-20 Thread Dan Joseph
Hi, From php.net/sprintf: I think you'd have to format the . and , a bit differently, but that should be a start. -Dan Joseph > -Original Message- > From: Lukáš Moravec - PTV Servis [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 20, 2004 2:10 PM > To:

RE: [PHP] what is difference between php and perl

2004-07-22 Thread Dan Joseph
erence choice. PHP was designed for dynamic web pages, Perl was designed to be a unix programming language that evolved. -Dan Joseph > #!/usr/bin/perl > > print "HTTP/1.0 200\r\n"; > print "Content-Type: text/html\r\n"; > print "Set-Cookie: SESS=123fdfd...

Re: [PHP] PHP + Amazon to retrieve book data

2007-11-22 Thread Dan Joseph
Hi Scott, This should help: http://hades.phparch.com/ceres/public/article/index.php/art::web_services::php5_soap/2 -Dan Joseph On Nov 21, 2007 7:39 AM, Scott Wilcox <[EMAIL PROTECTED]> wrote: > Hey folks, > > Does anyone have any resources or links to resources concerning > o

Re: [PHP] Question about cURL, and iFrames...

2008-02-18 Thread Dan Joseph
he fields, then display the finished product on the screen. One thing you may also want to keep in mind is that I think you'd have to go through and fix the image links and url links if they don't have the full url path in the html. -- -Dan Joseph "Build a man a fire, and he will be w

Re: [PHP] Question about cURL, and iFrames...

2008-02-19 Thread Dan Joseph
ite.com and they are seeing Google's content. If you scrubbed all the hyperlinks and replaced google.com with mykillersite.com, when they clicked on the Advertising link, they'd end up on www.mykillerlink.com/intl//ads/ instead, which would 404 of course unless you created that too. -- -Da

Re: [PHP] checking for and enforcing https

2008-02-25 Thread Dan Joseph
header("Location: > https://".$url.$_SERVER['PHP_SELF']."?".$_SERVER['QUERY_STRING']); >exit; >} > ?> > > An alternative to this if you don't know the port would be to check $_ENV["HTTPS"] for "off": if

Re: [PHP] checking for and enforcing https

2008-02-26 Thread Dan Joseph
for instance. We have a web server here with http and https pointing to the same place. then we have an admin login for the site and we want to force people to go https even though they can do http to get there. So when our users go to http://domain/admin/ it then redirects them to https://domain

Re: [PHP] checking for and enforcing https

2008-02-26 Thread Dan Joseph
gt; } > ?> > > I know I could test the code for myself, but this is quicker. > > Yep. Use that or: if ($_ENV["HTTPS"] == "off"). Daniel's code is port specific, this one checks for HTTPS being on or off. -- -Dan Joseph "Build a man a fire, and he will be warm for the rest of the day. Light a man on fire, and will be warm for the rest of his life."

Re: [PHP] checking for and enforcing https

2008-02-26 Thread Dan Joseph
On Tue, Feb 26, 2008 at 11:04 AM, Robert Cummings <[EMAIL PROTECTED]> wrote: > Surely you mean $_SERVER['HTTPS'] and not $_ENV['HTTPS']. > > > woops! yep, I meant $_SERVER, thanks :) -- -Dan Joseph "Build a man a fire, and he will be warm for th

Re: [PHP] Making sure an include file works

2008-02-28 Thread Dan Joseph
rick walls. > > The include itself or the contents in the include file? If you use require() instead of include(), your script will error out if there are any issues with the inclusion of the file. -- -Dan Joseph "Build a man a fire, and he will be warm for the rest of the day. Light

Re: [PHP] Is this the best way?

2008-03-14 Thread Dan Joseph
r if there is a > better way? > > > I don't see anything wrong with that method. One thing I would suggest is that you make username unique in your database if you want to avoid duplicate results. But your way of checking is just fine as it is. -- -Dan Joseph "Build a man a fire

Re: [PHP] Double click problem

2008-03-19 Thread Dan Joseph
our applications here. I ended up adding some javascript to disable the button once clicked, and then putting in code in the php to prevent duplicates. It seemed to do the trick. I can send over some sample code if you need. For the javascript I just made the submit button hit a function, disabl

Re: [PHP] Date Issue

2008-03-31 Thread Dan Joseph
ibe, visit: http://www.php.net/unsub.php > > > > > > > -- > Some people have a "gift" link here. > Know what I want? > I want you to buy a CD from some indie artist. > http://cdbaby.com/from/lynch > Yeah, I get a buck. So? > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > Well, to re-iterate what Andrew said, you're on the 31st day of the month. Feb 31st translates to March, April 31st translates to May. -- -Dan Joseph "Build a man a fire, and he will be warm for the rest of the day. Light a man on fire, and will be warm for the rest of his life."

Re: [PHP] Include fails when "./" is in front of file name

2008-04-07 Thread Dan Joseph
ple - require_once( "./library/urs/URS.Framework.php" ); His should work fine also. -- -Dan Joseph "Build a man a fire, and he will be warm for the rest of the day. Light a man on fire, and will be warm for the rest of his life."

Re: [PHP] Double billing problem

2008-04-19 Thread Dan Joseph
ww.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > Does paypal offer duplicate transaction protection? The merchant providers I've worked with in the past has had it as part of their fraud protection modules. For instance, you can set it how soon after that ca

Re: [PHP] Re: php framework vs just php?

2008-04-22 Thread Dan Joseph
re essentially arguing the same point that everyone else is. You've just isolated it to Radicore. Do you even realize that? -- -Dan Joseph "Build a man a fire, and he will be warm for the rest of the day. Light a man on fire, and will be warm for the rest of his life."

Re: [PHP] Big companies that use PHP?

2008-04-23 Thread Dan Joseph
:) > > > > > > Do any of you know? > > > > And what % of the web market share does PHP take? > > > > > > Thanks, > > Thiago Pojda > > I'm with my 3rd company over $100 million in sales per that uses PHP. There are lots out there. -

Re: [PHP] php 5 and mysql failure

2008-04-30 Thread Dan Joseph
give you that error. You may also want to put some row count checking prior to trying to fetch any rows. -- -Dan Joseph "Build a man a fire, and he will be warm for the rest of the day. Light a man on fire, and will be warm for the rest of his life."

Re: [PHP] Categories like wordpress

2008-05-01 Thread Dan Joseph
eyword information, then an associations table with the image id and keyword id link. Either way should work ok. -- -Dan Joseph "Build a man a fire, and he will be warm for the rest of the day. Light a man on fire, and will be warm for the rest of his life."

Re: [PHP] Where to start!

2008-05-05 Thread Dan Joseph
ut, maybe you could explain a little more about this application. How big do you think it will be. How much acitivity, etc? That would probably help us point you in the right direction. -- -Dan Joseph www.canishosting.com - Plans start @ $1.99/month. Reseller plans and Dedicated servers available

Re: [PHP] Recommended book on PHP/SOAP

2008-05-05 Thread Dan Joseph
you'll want to grab NuSOAP. Its actually a pretty nice SOAP library. You can ifnd it on google. I was able to work with it by searching for examples just fine. You may not even need a book. -- -Dan Joseph www.canishosting.com - Plans start @ $1.99/month. Reseller plans and Dedicated se

Re: [PHP] Setting up a program that can be accessed by all domain on a server

2008-05-08 Thread Dan Joseph
eb site? If its just needing to get data, you could build a web service and give access to it for all other domains. -- -Dan Joseph www.canishosting.com - Plans start @ $1.99/month. Reseller plans and Dedicated servers available. "Build a man a fire, and he will be warm for the rest of the d

Re: [PHP] Setting up a program that can be accessed by all domain on a server

2008-05-08 Thread Dan Joseph
On Thu, May 8, 2008 at 11:54 AM, Richard Kurth <[EMAIL PROTECTED]> wrote: > Dan Joseph wrote: > >> On Thu, May 8, 2008 at 11:47 AM, Richard Kurth < >> [EMAIL PROTECTED]> >> wrote: >> >> >> >>> I have a program that I am writing that

Re: [PHP] Why doesn't working with array's ever stick in my thick head?

2008-05-09 Thread Dan Joseph
he $_POST array has the proper values stored properly... I just can't seem > to figure out how to work with the values... Any ideas? Or slaps on the back > of the head to wake me up a little? :) > > I need help :P > > > > -- > > Jason Pruim > Raoset Inc. > Techn

Re: [PHP] validating textarea using php

2008-05-13 Thread Dan Joseph
ook thru the comments on http://us.php.net/chop and you'll find a few different ways of doing it. -- -Dan Joseph www.canishosting.com - Plans start @ $1.99/month. Reseller plans and Dedicated servers available. "Build a man a fire, and he will be warm for the rest of the day. Light a man on fire, and will be warm for the rest of his life."

Re: [PHP] JavaScript and PHP

2008-05-14 Thread Dan Joseph
tById('image1').src = " http://portulan-online.net/einstein-"; + + ".png"; You could do that. Also, I'd suggest using $_GET instead of $_REQUEST. Request works,b ut it is very broad. $_GET is more specific/secure. -- -Dan Joseph www.canishosting.com - Plans start @ $1.99/month. Reseller plans and Dedicated servers available. "Build a man a fire, and he will be warm for the rest of the day. Light a man on fire, and will be warm for the rest of his life."

Re: [PHP] Validating Form input

2008-05-14 Thread Dan Joseph
, as JavaScript is unreliable at best. Now, the only real advantage I've seen with JS validation is just to have that first line of validation to save the end user some time in between submits. If you don't want to bother with it, don't. I tend to just for that first layer. --

Re: [PHP] Problems with includes

2008-05-16 Thread Dan Joseph
tp://www.php.net/unsub.php > > I'm pretty sure you're gonna need to include the entire path: require( "/srv/www/html/Tools/tool2/tool2.php" ); for both of your tools. -- -Dan Joseph www.canishosting.com - Plans start @ $1.99/month. Reseller plans and Dedicated servers available. "Build a man a fire, and he will be warm for the rest of the day. Light a man on fire, and will be warm for the rest of his life."

Re: [PHP] Threads PHP

2008-05-16 Thread Dan Joseph
gt; Phone: +595-961-974165 > Check out: http://pecl.php.net/package/threads That might help you out. -- -Dan Joseph www.canishosting.com - Plans start @ $1.99/month. Reseller plans and Dedicated servers available. "Build a man a fire, and he will be warm for the rest of the day. Light a man on fire, and will be warm for the rest of his life."

Re: [PHP] Problems with includes

2008-05-16 Thread Dan Joseph
Lucas > > "Some men are born to greatness, some achieve greatness, > and some have greatness thrust upon them." > > Twelfth Night, Act II, Scene V >by William Shakespeare > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe,

Re: [PHP] Problems with includes

2008-05-16 Thread Dan Joseph
- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > It deosn't look like it updated your path. Output a phpinfo() and make sure you have the correct php.ini. web servers tend to have more than one laying around. -- -Dan Joseph www.canishosting.com - Plans start @ $1.99/month. Reseller plans and Dedicated servers available. "Build a man a fire, and he will be warm for the rest of the day. Light a man on fire, and will be warm for the rest of his life."

Re: [PHP] php training institutes

2008-05-17 Thread Dan Joseph
;ll have all the resources you'll need to learn it. -- -Dan Joseph www.canishosting.com - Plans start @ $1.99/month. Reseller plans and Dedicated servers available. "Build a man a fire, and he will be warm for the rest of the day. Light a man on fire, and will be warm for the rest of his life."

Re: [PHP] Enterprise

2008-05-20 Thread Dan Joseph
7;s eyes is that there must be something wrong with it. PHP falls into this category. I work for a large corporation, we use PHP here, Yahoo uses it, a lot of places use it. It can handle enterprise. Really, I think the architecture of the software would dictate that more than that language. -- -

Re: [PHP] page suck attack

2008-05-21 Thread Dan Joseph
Are you talking about a DOS attack? (Denial of Service) -- this is usually where your site is flooded with hits and you can't get to it because its overloaded. -- -Dan Joseph www.canishosting.com - Plans start @ $1.99/month. Reseller plans and Dedicated servers available. "Build a ma

Re: [PHP] PHP eg.

2008-05-30 Thread Dan Joseph
P so that i can > study and learn. > > thank you. > Best thing to do is stay on this mailing list, and use php.net, phpbuilder.com, and other php web sites as a reference. There are a lot of code examples out there. Come up with a project, and start coding. -- -Dan Joseph www.can

Re: [PHP] going from procedural style to object orientated style coding

2008-05-30 Thread Dan Joseph
ling List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > If you want to go the book route, look for "Design Patterns" on Amazon.com, its a good general overview. That's how I got started, from there it starts to become natural for you. Maybe sear

Re: [PHP] About MS SQL Connections...

2008-06-03 Thread Dan Joseph
enas intenciones está empedrado el camino al infierno..." > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > Can you post your code and error so we can take a look? -- -Dan Joseph www.canishosting.com - Plans sta

[PHP] WSDL/SOAP/PHP5

2008-06-06 Thread Dan Joseph
used to generate the WSDL? Should I just abandon PHP5's SOAP and use NuSOAP? -- -Dan Joseph www.canishosting.com - Plans start @ $1.99/month. "Build a man a fire, and he will be warm for the rest of the day. Light a man on fire, and will be warm for the rest of his life."

Re: [PHP] WSDL/SOAP/PHP5

2008-06-07 Thread Dan Joseph
On Fri, Jun 6, 2008 at 6:33 PM, Nathan Nobbe <[EMAIL PROTECTED]> wrote: > On Fri, Jun 6, 2008 at 2:53 PM, Dan Joseph <[EMAIL PROTECTED]> wrote: > >> Hi Everyone, >> >> I'm struggling with a WSDL trying to make it work right. I don't even >&

[PHP] NuSOAP assistance.

2008-06-08 Thread Dan Joseph
;xsd:string' ), array( 'firstname'=>'xsd:string' ), array( 'lastname'=>'xsd:string' ), array( 'companyname'=>'xsd:string' ), array( 'dealername'=>'xsd:string' ), array( 'contact_address1'=>'xsd:string' ), array( 'contact_address2'=>'xsd:string' ), array( 'contact_city'=>'xsd:string' ), array( 'contact_state'=>'xsd:string' ), array( 'contact_zip'=>'xsd:string' ), array( 'emailaddress'=>'xsd:string' ), array( 'phone'=>'xsd:string' ), array( 'cellphone'=>'xsd:string' ), array( 'fax'=>'xsd:string' ), array( 'contactpref'=>'xsd:string' ), array( 'referral'=>'xsd:string' ), array( 'origin_contactname'=>'xsd:string' ), array( 'origin_contactphone1'=>'xsd:string' ), array( 'origin_contactphone2'=>'xsd:string' ), array( 'origin_address1'=>'xsd:string' ), array( 'origin_address2'=>'xsd:string' ), array( 'origin_city'=>'xsd:string' ), array( 'origin_state'=>'xsd:string' ), array( 'origin_zip'=>'xsd:string' ), array( 'dest_contactname'=>'xsd:string' ), array( 'dest_contactphone1'=>'xsd:string' ), array( 'dest_contactphone2'=>'xsd:string' ), array( 'dest_address1'=>'xsd:string' ), array( 'dest_address2'=>'xsd:string' ), array( 'dest_city'=>'xsd:string' ), array( 'dest_state'=>'xsd:string' ), array( 'dest_zip'=>'xsd:string' ), array( 'vin'=>'xsd:string' ), array( 'year'=>'xsd:string' ), array( 'make'=>'xsd:string' ), array( 'model'=>'xsd:string' ), array( 'color'=>'xsd:string' ), array( 'vehicletype'=>'xsd:string' ), array( 'inop'=>'xsd:string' ), array( 'buyer_id'=>'xsd:string' ), array( 'item_id'=>'xsd:string' ), array( 'engine_size'=>'xsd:string' ), array( 'modified'=>'xsd:string' ), array( 'enclosed_carrier'=>'xsd:string' ), array( 'pickupdate'=>'xsd:string' ), array( 'latestpickupdate'=>'xsd:string' ), array( 'quote_type'=>'xsd:string' ), array( 'savequote'=>'xsd:string' ), array( 'return'=>'tns:VehiclesArray' ), $NAMESPACE ); function getQuote( $quoterequest ) { $vehicle = array(); // Create book (hardcoded author) $vehicle[] = array( 'author' => "Jack London", 'title' => "blah", 'numpages' => "pages", 'toc' => "toc" ); return $vehicle; } $HTTP_RAW_POST_DATA = isset($HTTP_RAW_POST_DATA) ? $HTTP_RAW_POST_DATA : ''; $server->service($HTTP_RAW_POST_DATA); ?> -- -Dan Joseph www.canishosting.com - Plans start @ $1.99/month. "Build a man a fire, and he will be warm for the rest of the day. Light a man on fire, and will be warm for the rest of his life."

[PHP] PHP code will not work

2008-06-12 Thread Joseph Subida
Hi. I am new to PHP. I found a tutorial that said to copy and paste the code into a .php document and open it in my browser: I'm pretty sure PHP is enabled on my computer. I've tested code such as: "; } echo "My name is "; writeMyName2("Kai Jim"); echo "My name is "; writeMyName2("Hege");

Re: [PHP] PHP code will not work

2008-06-12 Thread Joseph Subida
Daniel Brown wrote: On Wed, Jun 11, 2008 at 11:51 PM, Joseph Subida <[EMAIL PROTECTED]> wrote: Hi. I am new to PHP. I found a tutorial that said to copy and paste the code into a .php document and open it in my browser: I'm pretty sure PHP is enabled on my computer. I've tes

[PHP] LAMP benchmarking tool

2006-09-27 Thread Joseph Cheng
Is anyone using a reliable Linux/Apache/MySQL/PHP benchmarking suite? There are benchmark software for individual pieces but I hope there is one tool or several small tools that act together to give a picture of how long a request takes from entering Apache, to PHP, to MySQL and then back to the c

[PHP] SOAP Client - Cannot use object of type stdClass as array

2008-06-19 Thread Dan Joseph
, "key" => "laksjdfl", "firstname" => "Dan", "lastname" => "Joseph", "companyname" => "UR", "dealername"

Re: [PHP] Re: Military Service WAS [PHP] Capitalization of variable

2008-06-19 Thread Dan Joseph
If you want people to believe that mandatory service is a good thing, they have to do more to get that message out. Especially in this day and age where most people think enlisting is just volunteering to go to Iraq. -- -Dan Joseph www.canishosting.com - Plans start @ $1.99/month. "Build

Re: [PHP] lester

2008-06-26 Thread Dan Joseph
gt; (*_*)>>>"Todos somos muy ignorantes. Lo que ocurre es que no todos > ignoramos las mismas cosas"<<<(*_*) > > > > > > > Servicio del Grupo de Redes > Universidad de Cienfuegos > Contacto: [EM

Re: [PHP] how to load uneven XML file into an array

2008-06-27 Thread Dan Joseph
>A > > > 2008-06-23 > > >A > > > >20802024AA >OR4100342 > > 2008-06-20 >

[PHP] SOAP - function does not exist?

2008-06-30 Thread Dan Joseph
l countless times, and do not see anything wrong it. Can anyone tell me where to begin trouble shooting this? I can post code from the client and class if need be. I guess I'm mainly trying to figure out: Does this point to a wsdl problem, or code problem? -- -Dan Joseph www.canishosting.com - Plans start @ $1.99/month. "Build a man a fire, and he will be warm for the rest of the day. Light a man on fire, and will be warm for the rest of his life."

Re: [PHP] SOAP - function does not exist?

2008-06-30 Thread Dan Joseph
t; > > Can you verify that? > > > > *From:* Dan Joseph [mailto:[EMAIL PROTECTED] > *Sent:* Monday, June 30, 2008 9:52 AM > *To:* Will Fitch > *Cc:* PHP General List > *Subject:* Re: [PHP] SOAP - function does not exist? > > > > > > On Mon, Jun 30, 2008 a

Re: [PHP] Execute command line as a different user

2008-07-01 Thread Dan Joseph
.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > I did a quick check on php.net, there is a post on there that talks about using sudo: @exec("echo 'apache' | /usr/bin/sudo -u mail -S /var/www/html/mailset.sh $name"); You may want to read thru it, php.net

Re: [PHP] What font/size do you use for programming?

2008-07-09 Thread Dan Joseph
for your > programming? > > Cheers, > > tedd > > -- > --- > http://sperling.com http://ancientstones.com http://earthstones.com > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > C

Re: [PHP] Re: What font/size do you use for programming?

2008-07-10 Thread Dan Joseph
at a previous job between our deployment manager and his new worker. We did credit card processing. They deployed the terminals to customers. They'd load the customer's data onto them, box, ship 'em. Her job was to ship them. He had a chart of how much each type of terminal

<    2   3   4   5   6   7   8   9   >