[PHP] OpenSSL PKCS12 Exporting

2011-10-10 Thread Justin Kaufman
t certificate in the string. I tried searching, but couldn't find much info on the subject; so I'm hoping someone more experienced than I can point me in the right direction. Thanks in advance! Best regards, Justin Kaufman jlkauf...@me.com -- PHP General Mailing List (http:

[PHP] Re: Fatal error: Allowed memory size of XXXXX bytes exhausted

2010-10-17 Thread Justin Martin
but what's evident is that your script is eating memory. Thanks, Justin Martin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Zip files: generate text file in archive on the fly

2010-10-17 Thread Justin Martin
ed it, but you could also simply try using ZipArchive::addFromString without deleting the file first. It may just overwrite the file. Thanks, Justin Martin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Addendum: Binary data unpacking

2010-10-16 Thread Justin Martin
Sorry, I had forgotten that attachments weren't accepted on the list. My code can be found at http://pastebin.com/6nmR67c3. The test NBT can be found via the NBT specification link. Thanks, Justin Martin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Binary data unpacking

2010-10-16 Thread Justin Martin
mething about binary data, or is PHP's pack/unpack functionality indeed lacking? And, if the pack and unpack functions are indeed lacking, is it possible to handle binary data without those functions? Thanks, Justin Martin <> -- PHP General Mailing List (http://www.php.net/)

RE: [PHP] Re: php photo galery

2010-05-18 Thread Justin Cripps
I have used Satellite. Worked pretty well for me. http://design.tedforbes.com/ Justin -Original Message- From: Ross McKay [mailto:ro...@zeta.org.au] Sent: Wednesday, 19 May 2010 11:23 AM To: php-general@lists.php.net Subject: [PHP] Re: php photo galery On Tue, 18 May 2010 21:11:00

Re: [PHP] PHP Color Coding in Gmail (was: open a file in a folder without knowing the filename)

2007-06-22 Thread Justin P. Goldberg
On 6/21/07, Tijnema <[EMAIL PROTECTED]> wrote: On 6/21/07, Justin P. Goldberg <[EMAIL PROTECTED]> wrote: > Matt Cutts blogged about color-coding messages in his inbox like Mutt does, > http://www.mattcutts.com/blog/keep-it-coming-gmail/ > > and the solution he found, &g

Re: [PHP] PHP Color Coding in Gmail (was: open a file in a folder without knowing the filename)

2007-06-21 Thread Justin P. Goldberg
Matt Cutts blogged about color-coding messages in his inbox like Mutt does, http://www.mattcutts.com/blog/keep-it-coming-gmail/ and the solution he found, http://www.mattcutts.com/blog/other-googlers-you-should-read/ This doesn't do what you want though. I think a firefox addon or greasemonkey

Re: [PHP] Re: posting variables to parent frame

2007-04-27 Thread Justin Frim
Tijnema ! wrote: [snip] Should you create a header that is 1600 width, and resize it down until 800 when a user with 800x600 visits? and all images used at borders and corners? That's the biggest problem in dynamic layouts. Atm, i repeat small images around the borders, but that's a real pain in

Re: [PHP] Re: posting variables to parent frame

2007-04-27 Thread Justin Frim
Tijnema ! wrote: I guess the same can be done with ... But the main problem is that there's no real standard for resolution. I see people having resolution set at 800x600, and 1600x200, how is it ever possible to make a page look good at both? Resizing it to 1600x1200 would give you an enormous p

Re: [PHP] Re: posting variables to parent frame

2007-04-26 Thread Justin Frim
Edward Vermillion wrote: So you're saying that if I "maximize" my browser window, all the sites that you made with tables will "actually look good", at 1680 x 1050, because they are stretchy-pages? Honestly, I have no clue as to why some folks think that a "stretchy"/ liquid/dynamic layout

Re: [PHP] Re: posting variables to parent frame

2007-04-26 Thread Justin Frim
tedd wrote: At 5:06 PM +0200 4/26/07, Tijnema ! wrote: It's not XHTML 1.0 Strict valid .. :P You're page is HTML 4.01 valid, i think you should make it XHTML 1.0 Strict. Ar. Then I would have to add all those "/" to my ">" in all my code in all my sites. Literally millions of new "/"

Re: [PHP] Re: PHP & Text Messaging

2007-04-26 Thread Justin Frim
Richard Lynch wrote: [snip] Relying on Sprint, however, to honor any kind of oral agreement, is a big fat *NOT* "I'm sorry, but we just don't have any reocrd of that conversation. You're now 2 weeks overdue, because that extension you claim we gave you doesn't exist." It was like a parody of

Re: [PHP] Server side speech

2007-04-26 Thread Justin Frim
tedd wrote: However, I did run my audio captcha by a couple dozen _visually impaired_ testers... ..snip... ...it's interesting to see what _they see_. nothing? ;-) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Server side speech

2007-04-25 Thread Justin Frim
Richard Lynch wrote: If you can compile (or find it compiled) on the exact same OS, you can probably upload the binary and then use 'exec' on your own program. I've had some success doing this on a shared host. You might also be able to convince the webhost to just install Festival for you. I

Re: [PHP] Preventing SQL Injection/ Cross Site Scripting

2007-04-25 Thread Justin Frim
Dotan Cohen wrote: I currently an using htmlencode, so < and > show as expected. I do expect the math faculty to use those symbols :). Then you're already protected from XSS attacks, no HTML filters necessary. Easy as pi. ;-) (ok, that one was lame) -- PHP General Mailing List (http://

Re: [PHP] List

2007-04-25 Thread Justin Frim
Have you considered using something other than Outlook? Beauford wrote: Does anyone else have this problem with the list. It seems that every time I check my email there is one or more messages from the list that royally screws up Outlook. I usually have to delete all list messages from the ac

Re: [PHP] Preventing SQL Injection/ Cross Site Scripting

2007-04-25 Thread Justin Frim
Dotan Cohen wrote: On 25/04/07, Justin Frim <[EMAIL PROTECTED]> wrote: I'm assuming then you want the data to be able to contain _some_ mark-up considered to be safe? Not at this stage, no. Maybe if the users ask for it, but not now in the beginning. The universe's best

Re: [PHP] Preventing SQL Injection/ Cross Site Scripting

2007-04-24 Thread Justin Frim
Dotan Cohen wrote: On 24/04/07, Justin Frim <[EMAIL PROTECTED]> wrote: if (get_magic_quotes_gpc()) { /* (unfortunately in PHP these are enabled by default. AHH! Which idiot thought this was a good idea to turn them on by default? Good programming practise is to manually encod

Re: [PHP] Preventing SQL Injection/ Cross Site Scripting

2007-04-24 Thread Justin Frim
Eric Butera wrote: One thing you might want to keep in mind is that this little "fix" is going to get executed on each request if you just throw it in an include. ...big snip... That means lots function calls happened before you could even say hello world. You might want to add wrapper fun

Re: [PHP] Preventing SQL Injection/ Cross Site Scripting

2007-04-24 Thread Justin Frim
Just my two cents worth... Magic quotes are the work of the devil. It's a shame that so many PHP installations have them enabled, and a huge disappointment that PHP is actually distributed with this stuff enabled! The mere fact that a script can't change this setting creates a real hassle an

Re: [PHP] Re: posting variables to parent frame

2007-04-24 Thread Justin Frim
I'll jump in on this one, because I've dealt with the div/object/iframe frustration before. And I would not be very happy if the W3C decided to deprecate iFrames right now, at least with the current state of the world's browsers. I found that with I didn't have very much control over the bord

Re: [PHP] retrieve POST body?

2007-04-23 Thread Justin Frim
Myron Turner wrote: I'm not sure I follow here, because the Perl script would be saving the posted file to disk. It would then send back a redirect with the name of the file in the query string of the url, which would point to a php script that would then read the file from the disk. So the f

Re: [PHP] should I be looking to eliminate all notices?

2007-04-23 Thread Justin Frim
Edward Vermillion wrote: On Apr 21, 2007, at 6:35 PM, Justin Frim wrote: I've always gone by the rule that if you're making software that other people will see or use, make it clean. Sometimes I'll "cheat" and stick a @ symbol in front of a line to shut up err

Re: [PHP] retrieve POST body?

2007-04-23 Thread Justin Frim
You are correct, I'm not very familiar with Perl. If I do go the route of using something else to accept the form data and then executing the PHP script, I'd be leaning more toward somehow executing the PHP script directly rather then sending back a redirect to the user-agent to re-send the re

Re: [PHP] should I be looking to eliminate all notices?

2007-04-21 Thread Justin Frim
I've always gone by the rule that if you're making software that other people will see or use, make it clean. Sometimes I'll "cheat" and stick a @ symbol in front of a line to shut up errors and warnings for that particular line, but usually I only do that for speed optimization. (ie. if it's i

Re: [PHP] retrieve POST body?

2007-04-21 Thread Justin Frim
Richard Lynch wrote: On Thu, April 19, 2007 10:28 pm, Myron Turner wrote: that should be necessary at this time. For instance, if it's necessary to pass in CGI parameters at the same time as sending out a file, the parameters can be tacked onto a query string and they will be packed into b

Re: [PHP] retrieve POST body?

2007-04-19 Thread Justin Frim
Regarding some discussion a while back about putting in a feature request for obtaining the POST body... I can see the advantage of streaming the POST body directly to disk, because then you don't have to allocate a huge amount of memory for keeping a copy of the POST body in a variable. So m

Re: [PHP] retrieve POST body?

2007-04-19 Thread Justin Frim
Interesting... But how will the user-agent know how to pack the data? AFAIK, if you don't specify enctype in the tag, the user-agent will assume application/x-www-form-urlencoded. I'm assuming that if you put in something that's not recognized (like multipart/x-non-parsed-form-data), the use

Re: [PHP] retrieve POST body?

2007-04-19 Thread Justin Frim
can properly implement a file upload on a web form. Myron Turner wrote: Tijnema ! wrote: On 4/19/07, Myron Turner <[EMAIL PROTECTED]> wrote: André Medeiros wrote: > php://stdin perhaps? > > On 4/18/07, Justin Frim <[EMAIL PROTECTED]> wrote: >> André Medeiros wr

Re: [PHP] retrieve POST body?

2007-04-19 Thread Justin Frim
This is starting to get super ugly indeed... I was hoping I wouldn't have to essentially write an HTTP daemon from scratch, so I'll keep the sockets in mind as a *last* resort. As much as it would simplify things if $HTTP_RAW_POST_DATA (and friends) was fixed to always contain the data regardles

Re: [PHP] retrieve POST body?

2007-04-18 Thread Justin Frim
I tried that one too. For any POST requests (regardless of Content-Type), it's always blank. For GET requests, it contains the PHP script source code. André Medeiros wrote: php://stdin perhaps? On 4/18/07, Justin Frim <[EMAIL PROTECTED]> wrote: André Medeiros wrote: > Re

Re: [PHP] retrieve POST body?

2007-04-18 Thread Justin Frim
André Medeiros wrote: Reading from php://input on a webserver will retrieve the Body of the HTTP Request. Not for me it doesn't. That only seems to work when the form is submitted as application/x-www-form-urlencoded. When the form is submitted as multipart/form-data, php://input is blank.

Re: [PHP] retrieve POST body?

2007-04-18 Thread Justin Frim
Chris Shiflett wrote: Justin Frim wrote: Is there any way to retrieve the POST message body when a form is submitted to a PHP script using multipart/form-data? There's the always_populate_raw_post_data configuration directive and the $HTTP_RAW_POST_DATA. Have you tried that? Yes, th

[PHP] retrieve POST body?

2007-04-18 Thread Justin Frim
Greetings, Is there any way to retrieve the POST message body when a form is submitted to a PHP script using multipart/form-data? I can't use just the $_POST[] and $_FILES[] arrays because I need to calculate the hash of an exact bit-accurate copy of the original POST body for data verificat

Re: [PHP] Re: postback for php

2006-10-18 Thread Justin Cook
I believe he is talking about the concept of postback in ASP.Net. PHP does not have anything built in for this. _ From: Ed Lazor [mailto:[EMAIL PROTECTED] To: Miles Thompson [mailto:[EMAIL PROTECTED] Cc: php-general@lists.php.net Sent: Wed, 18 Oct 2006 10:27:33 -0500 Subject: Re: [PHP] Re

[PHP] Use PHP to disable htaccess

2006-10-05 Thread Justin Cook
I took over a website that uses a htaccess file to auto append a file to every page. I have one page that I do not want to do this one. Is there a way to disable the htaccess file with a php statement on this one page? Thanks!

[PHP] Excessive Php scripting?

2006-09-06 Thread Justin Madru
I'm creating a simple personal web server. On a few of the pages is a html table. I was thinking of making it a php script, and the script would just output the html code for _one_ row. I would be calling the same very small php script maybe _30+_ times in the same page. My server is only 500M

Re: [PHP] Dependent selections

2006-03-28 Thread Justin Cook
Look into AJAX. I just implemented a project on our intranet doing the exact same thing. Go to w3chools for a quick run down and then check out Prototype. Sitepoint has a good article on AJAX with Prototype. _ From: Raúl Castro Marín [mailto:[EMAIL PROTECTED] To: php-general@lists.php.ne

RE: [PHP] LDAP and Single Sign On

2006-03-07 Thread Justin Cook
I've been there. I can connect and search my active directory, that's no problem. I'm more curious on how to check to see if they have already authenticated to the domain. _ From: Shaunak Kashyap [mailto:[EMAIL PROTECTED] To: Justin Cook [mailto:[EMAIL PROTECTE

[PHP] LDAP and Single Sign On

2006-03-07 Thread Justin Cook
We are developing an intranet for my company. I would like to implement a single sign on service. We have Active Directory on one server and the intranet is being housed on a Redhat Linux server. When the internal user pulls up the intranet, I would like it to check to see if they successfully j

Re: [PHP] Recompile PHP on pre-installed system

2006-02-08 Thread Justin Cook
-odbc make sure you have unixODBC or like install on the system, once you do that its a piece of cake, been doing that here for a few months. On 2/8/06, Justin Cook <[EMAIL PROTECTED]> wrote: > Yes, we are using RHE 4 with a support contract. I need to get db2 support > compiled in so

Re: [PHP] Recompile PHP on pre-installed system

2006-02-08 Thread Justin Cook
Yes, we are using RHE 4 with a support contract. I need to get db2 support compiled in so we can access our AS400 using ODBC. _ From: Rory Browne [mailto:[EMAIL PROTECTED] To: Marcus Bointon [mailto:[EMAIL PROTECTED] Cc: Justin Cook [mailto:[EMAIL PROTECTED], PHP General [mailto:[EMAIL

[PHP] Recompile PHP on pre-installed system

2006-02-06 Thread Justin Cook
Before I came to my company, they created a Redhat server for our web server. Of course they let the redhat installer install PHP. It all works great but now I need to compile a module into php. Is this possible to do without causing havok? Bascially we really can't have more downtime that it wo

[PHP] Connect to AS400

2006-01-26 Thread Justin Cook
We need to connect to a database on our AS400. Would this be best accomplished with ODBC? If not, what is the preferred method? Thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: [PEAR] PHP 4.4.0 references problems when using PEAR::SOAP

2005-10-07 Thread Justin Patrin
P package. Instead of: return $serializer-> make it: $ret = $serializer->... return $ret; This notice was added because PHP has memory corruption issues when doing this particular thing (it always has). -- Justin Patrin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: [SPAM] - [PHP] Nested IFs Problem - Bayesian Filter detected spam

2005-08-31 Thread Justin Francis
else statement will never be executed -- regardless of the outcome of the two nested ifs. I am not sure what you are trying to accomplish here, but perhaps all three of your if conditions should be combined into one if condition ANDed (&&) together? Or maybe the if...elseif...else struct

[PHP] Re: SPL Countable count() not being called

2005-08-31 Thread Justin Francis
Justin Francis wrote: I have not been able to get count() to be called when I pass my Countable class to the count function. I am using PHP 5.1 Release Candidate 1. I am not sure if it is a bug, so I am posting here to see if anyone can help. -- class Collection

[PHP] Re: [SPAM] - RE: [PHP] SPL Countable count() not being called - Bayesian Filter detected spam

2005-08-30 Thread Justin Francis
ass. See the SPL documentation at www.php.net/spl for more on how this is supposed to work. - Justin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] SPL Countable count() not being called

2005-08-30 Thread Justin Francis
Stut wrote: Justin Francis wrote: I have not been able to get count() to be called when I pass my Countable class to the count function. I am using PHP 5.1 Release Candidate 1. I am not sure if it is a bug, so I am posting here to see if anyone can help. -- class

[PHP] SPL Countable count() not being called

2005-08-30 Thread Justin Francis
I have not been able to get count() to be called when I pass my Countable class to the count function. I am using PHP 5.1 Release Candidate 1. I am not sure if it is a bug, so I am posting here to see if anyone can help. -- class Collection implements Countable { public

Re: [PHP] Error Suppression with '@'

2005-08-02 Thread Justin Burger
Does suppressing the error only suppress it from the screen, or does it ignore the error? ie: is the error still logged? On Aug 2, 2005, at 12:18 PM, John Nichel wrote: Justin Burger wrote: Good Morning, I was having a discussion with a fellow PHP Developer this morning and he

[PHP] Error Suppression with '@'

2005-08-02 Thread Justin Burger
oses him to, can any one give me any real world examples of why this is bad, so I can relate it to his code? php.net does not have much information about this. It seems like suppressing errors, rather then catching them is problematic. Thanks Again. Justin. -- PHP General Mailing List (htt

Re: [PHP] php_flag enable_dl

2005-07-28 Thread Justin Mazzi
php_admin_value enable_dl 1 does the trick. Thanks! Jochem Maas wrote: Justin Mazzi wrote: Can anyone tell me why this adding that to a vhost in apache 1 series does not work? The docs says you can use enable_dl per vhost. kinda guesswork, try one of: php_flag enable_dl 1 php_value

Re: [PHP] application-wide shared data/object

2005-07-28 Thread Justin Mazzi
http://eaccelerator.net/HomeUk Will keep scripts cached in memory etc. Maybe this is along the lines of what you are looking for. Aiguo Fei wrote: Thanks your insightful comments. Clearly scalability is a concern for large scale applications. One has to be discreet with it if such a facility i

[PHP] php_flag enable_dl

2005-07-28 Thread Justin Mazzi
Can anyone tell me why this adding that to a vhost in apache 1 series does not work? The docs says you can use enable_dl per vhost. -Justin Mazzi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Arrays

2005-07-12 Thread Justin Gruenberg
On 12/07/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi, > > How can i destroy an array? > I mean i have a loop and for each new value in the loop i want to destroy the > array. Something like that: > > while($row = mysql_fetch_array($result)) > { > > $product[] = $produ

[PHP] ftruncate() and stream wrappers

2005-06-15 Thread Justin Hannus
or stream functions? -justin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] test

2005-05-31 Thread Justin Hannus
testing -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] what am I missing..interpolation?

2005-05-15 Thread Justin Gruenberg
On 15/05/05, blackwater dev <[EMAIL PROTECTED]> wrote: > Hello, > > this works fine: > > $name="fido"; > $string="my dog's name is $name"; > echo $string;//prints my dog's name is fido > > but when I store the string "my dog's name is $name" in the db and pull it > out: > > //do the query > $r

Re: [PHP] radio buttons in $_POST

2005-04-23 Thread Justin Gruenberg
> None And if you didn't want it to show to the user (because they have to make a choice anyway) . . . you can use this css: input[value="None"] { display: none; } You should then always have a value to play with in PHP, and the user doesn't see any extra clutter. -- PHP General Mailin

Re: [PHP] image handling

2005-04-16 Thread Justin Gruenberg
On 4/16/05, Dasmeet Singh <[EMAIL PROTECTED]> wrote: > I have a form on my website that allows users to upload photographs.. > > 1. How to find out the file type they are uploading..like jpeg or png or > gif? > > 2. Also is there any way to find out size and resolution of the image? http://us3.p

[PHP] HELP! HELP !

2005-04-12 Thread Justin Joe
h in the second page(autorenew.php) : "switch($result_id){ case "1" : ; Break; case "2" : ; Break; Can the parameter "$result_id" pass from the second page(autorennew.php) to the first page? Sincerely yours, justin E-mail/MSN: [EMAIL PROTECTED]

Re: [PHP] (noob) listing folder content

2005-04-03 Thread Justin Gruenberg
On Apr 3, 2005 3:32 PM, p80 <[EMAIL PROTECTED]> wrote: > I have a folder let's call it "/rep" and would like to list all files in it > and for each file $f I would like to check if "$f == $some_value" and if it > does "echo $f" any idea how to do that? > > thanx in advance > > Pat See the direct

Re: [PHP] [semi OT]: Planning projects

2005-03-22 Thread Justin Lilly
that, but these guys know what they're talking about. That's just my $.02 -justin -- Justin Lilly University of South Carolina -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] web testing

2005-03-01 Thread Justin
Check out http://www.badboy.com.au/ http://httpunit.sourceforge.net/ and http://jakarta.apache.org/jmeter/index.html ... Justin blackwater dev wrote: Hello, I have a very large php web app and I am curious as to what others are using for testing. I know I can use simpletest to test at the code

Re: [PHP] break/exit

2005-02-27 Thread Justin Lilly
how about an if else statement? -justin On Sun, 27 Feb 2005 09:55:23 +, timothy johnson <[EMAIL PROTECTED]> wrote: > I have a single php script that I am using to upload my gaim logs to a > mysql server, but I want to put in some type of means to where if that > log was alr

Re: [PHP] Like ternary but without the else.

2005-02-25 Thread Justin Lilly
This should do the trick: $something ? $this=$that -justin On Fri, 25 Feb 2005 10:36:36 -0800, Chris W. Parker <[EMAIL PROTECTED]> wrote: > Hello, > > I couldn't find this anywhere on google or PHP's site but I'm pretty > sure there's an answer to it.

Re: [PHP] while loop

2005-02-23 Thread Justin Lilly
OW() && act_type_id = 1 or something of that nature. -justin On Wed, 23 Feb 2005 13:05:53 +0100, Reinhart Viane <[EMAIL PROTECTED]> wrote: > > > Hey list > > > > I have a mysql table like this: > > > > Act_name Act_type_id Act_d

Re: [PHP] Relative URLs

2005-02-21 Thread Justin French
ying well clear of that. I could go on for hours and provide plenty of reasons, and better examples, but you need to do some of it yourself :) And if your answer is "I only want to use plain HTML for the links, but still want to be able to move my site into directories", then I

Re: [PHP] Displaying a html line as html

2005-01-31 Thread Justin French
On 01/02/2005, at 1:05 PM, Todd Cary wrote: I have the following: $p = http://209.204.172.137/casesearch/php/home.php";>Home try $p = 'http://209.204.172.137/casesearch/php/home.php";>Home'; echo $p; --- Justin French, Indent.com.au [EMAIL PROTECTED] Web Application De

Re: [PHP] Get full url

2005-01-24 Thread Justin
Dmitry wrote: in Re: [PHP] Get full url How? Dont tell me about simple solutions such as $_SERVER["HTTPS"] . $_SERVER["REMOTE_ADDR"] . $_SERVER["SERVER_PORT"] . $_SERVER["PHP_SELF"] . $_SERVER["QUERY_STRING"] I want get really good solution. What does that even mean? Possibly SCRIPT_URI + '?' + Q

Re: [PHP] Re: [suspicious - maybe spam] [PHP] [suspicious - maybe spam] Categories and subcategories

2005-01-21 Thread Justin
Jochem Maas wrote: Phpu wrote: Hi, I need to create multiple categories and subcategories using php and mysql. Something like that its bad practice to state the technology that must be used before you have determined the scope and function of the problem, besides you have to know whether php an

Re: [PHP] debugging

2005-01-19 Thread Justin French
On 19/01/2005, at 10:51 PM, Marek Kilimajer wrote: Justin French wrote: On 19/01/2005, at 5:36 PM, William Stokes wrote: I would like to add some debugging/info code to my pages. In test environment of course. Any ideas how to do this? I mean for example to print to a web page the line number

Re: [PHP] debugging

2005-01-18 Thread Justin French
://au2.php.net/trigger_error>. That should be more than enough for the average PHP hack, but there is of course the option to write your own custom error handler to customise the look and feel of the error messages, send emails, log things to a database, etc. It's all pretty powerful

Re: [PHP] PHP application for knowledge management?

2005-01-18 Thread Justin French
ern makes a great candidate because of it's keywords, excerpts and decent searching. I'm managing all my collaborative projects in one of two ways: - basecamp - instiki or some other wiki --- Justin French, Indent.com.au [EMAIL PROTECTED] Web Application Development & Graphic De

[PHP] custom superglobals?

2005-01-14 Thread Justin French
it worked like $_GET etc. --- Justin French, Indent.com.au [EMAIL PROTECTED] Web Application Development & Graphic Design -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php editor

2005-01-13 Thread Justin
Bret Hughes wrote: I am interested to hear what other folks are using. Bret Since I do Java, Python etc. on OSX/windows/Linux, I'm using Eclipse with the PHPEclipse (PHPEclipse.de), I'm just starting PHP, but I'm pretty happy with it so far. One thing I am wondering about is the situation which

[PHP] quicker arrays as func args?

2005-01-13 Thread Justin French
t;=>"2","c"=>"3")); or foo("cat","dog",{"a"=>"1","b"=>"2","c"=>"3"}); would be nice (Ruby has something like this), but I'm guessing it's not possible. But, I'm asking just in case I've missed it in the docs. TIA --- Justin French, Indent.com.au [EMAIL PROTECTED] Web Application Development & Graphic Design -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Advice for Experienced web developer newish to PHP

2005-01-09 Thread Justin
Hi all, I'm a experienced web programmer, that is taking on a PHP project. I'm really looking to get the tricks and tips that come with experience, the lazy way :-) Project Overview Its basically a corporate info website, with an admin section to add/change content. It will have several top level s

Re: [PHP] stripping negative number

2004-12-23 Thread Justin England
unsigned does not equal absolute value. $num = -40; print "Num: $num\n"; $num = abs($num); print "ABS: $num\n"; will display: Num: -40 ABS: 40 http://us2.php.net/manual/en/function.abs.php Justin - Original Message - From: "Roger Thomas" <[EMAIL PROTECTE

RE: FW: [PHP] Accessing a Char in an Array

2004-12-21 Thread Justin Palmer
Why is substr all over the board in how fast it processes the same string? Is it the server? Kind regards, Justin > -Original Message- > From: Robert Cummings [mailto:[EMAIL PROTECTED] > Sent: Tuesday, December 21, 2004 8:58 PM > To: [EMAIL PROTECTED] > Cc: PHP-Genera

FW: [PHP] Accessing a Char in an Array

2004-12-21 Thread Justin Palmer
faster. Please let me know if I did the testing wrong, I don't believe I did but I was at work when I did it. http://dev.jepaonline.com/php/strings/substr/ Kind regards, Justin Palmer > -Original Message- > From: Curt Zirzow [mailto:[EMAIL PROTECTED] > Sent: Monday, Decem

RE: [PHP] can I compile php source

2004-12-21 Thread Justin Palmer
to pick soy beans..." :) -- much healthier alternative... (Da** I told myself not to post on this thread, thanks Matthew ;) ) Regards, Justin -Original Message- From: Matthew Sims [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 21, 2004 1:35 PM To: [EMAIL PROTECTED] Subject: Re:

Re: [PHP] Writing new code vs. re-writing someone else's code

2004-12-21 Thread Justin French
always clean up old code to make it better. I absolutely hate working with other people's code or inheriting a project unless it's really clean and well thought out, and well documented. --- Justin French, Indent.com.au [EMAIL PROTECTED] Web Application Development & Graphic

[PHP] Accessing a Char in an Array

2004-12-20 Thread Justin Palmer
ought someone may have done this already. Regards, Justin Palmer __ KISS (Keep It Simple, SEARCH)! Google::getUri( http://www.google.com ); Archives::getUri( http://marc.theaimsgroup.com/?l=php-general ); -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] Coding Question

2004-12-13 Thread Justin French
" to the user. They don't need to know anything about mysql, tables, databases, etc -- the WEBMASTER does, but not the user. --- Justin French, Indent.com.au [EMAIL PROTECTED] Web Application Development & Graphic Design -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Header location open into a new window?

2004-12-11 Thread Justin Wilkins
Is there a way in the current code below to make my $go_to_address go to a webpage in a new link -- instead of embedded in an iframe? In others words, can Header(Location: open in a new window? 1) { $content = 'https://swww.google.com/servlet/com.google.framework.servlets.BGSeamles

RE: [PHP] user password managment

2004-12-10 Thread Justin Palmer
> if($thisRow % 2 == "0"){ Should be: if(($thisRow % 2) == 0){ Regards, Justin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

FW: [PHP] Multiple Inheritance

2004-12-10 Thread Justin Palmer
Sorry, Greg for sending this to you personally. I also forgot to leave a link of a PHP Unit Testing Suite. www.lastcraft.com/simple_test.php - Simple Test Regards, Justin -Original Message- From: Justin Palmer [mailto:[EMAIL PROTECTED] Sent: Friday, December 10, 2004 7:51 PM To

RE: [PHP] Multiple Inheritance

2004-12-10 Thread Justin Palmer
Standard, and so the cycle of NO STANDARD revolves. And after saying all that, I will say that there are times on very small projects that procedural does make more sense. Regards, Justin Palmer __ KISS (Keep It Simple, SEARCH)! Google::getUri( http://www.goo

RE: [PHP] Multiple Inheritance

2004-12-10 Thread Justin Palmer
I am sorry for you, Richard, for the vast miss-understanding of OO. Regards, Justin Palmer __ KISS (Keep It Simple, SEARCH)! Google::getUri( http://www.google.com ); Archives::getUri( http://marc.theaimsgroup.com/?l=php-general ); -Original Message- From

RE: [PHP] Multiple Inheritance

2004-12-10 Thread Justin Palmer
I am sorry for you Richard for the vast miss-understanding of OO. Regards, Justin Palmer __ KISS (Keep It Simple, SEARCH)! Google::getUri( http://www.google.com ); Archives::getUri( http://marc.theaimsgroup.com/?l=php-general ); -Original Message- From: Richard

[PHP] Unsubscribing Junk Emails From the List: requests@firstustrading.com

2004-12-09 Thread Justin Palmer
Hi, Every time I send a response to the list I get a auto-reply from: [EMAIL PROTECTED] Is there someone that I could email that can delete this user from the list? Thanks for any information. Regards, Justin Palmer __ KISS (Keep It Simple, SEARCH)! Google::getUri

RE: [PHP] a question about the PHP manual

2004-12-09 Thread Justin Palmer
help solidify the theories. Regards, Justin Palmer __ KISS (Keep It Simple, SEARCH)! Google::getUri( http://www.google.com ); Archives::getUri( http://marc.theaimsgroup.com/?l=php-general ); -Original Message- From: Richard Lynch [mailto:[EMAIL PROTECTED] Sent

RE: [PHP] fread()

2004-12-08 Thread Justin Palmer
& new FileReader("example.txt"); While(!$fr->isEndOfFile()) { $strPartialFile = $fr->read(1000); $strFile .= $strPartialFile; } More at: php.net/fread Regards, Justin Palmer __ KISS (Keep It Simple, SEARCH)! Google::getUri

[PHP] Redirect after download

2004-12-01 Thread Justin England
le HTML line). So my question is: How can I perform a redirect after the file has been sent. Thanks, Justin Here is a snippit of download.php (send_file() was found reading the comments to the fread function in the PHP documention): header("Content-Type: multipart/mixed; boundary=\&qu

[PHP] remember me cookie

2004-11-25 Thread Justin French
should be reading, etc??? Shiflett??? :) Thanks, Justin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] FPDF output to a variable

2004-11-24 Thread Justin Palmer
e.pdf"'); $mail->send_mail(); ?> Any help on this would be great. If you know of some search terms that would get me going in the right direction that would be great also (I don't mind doing the research). If you need more clarification please let me know. Regards, Justin

Re: [PHP] PHP spell checker for Textarea

2004-11-24 Thread Justin French
On 25/11/2004, at 1:13 AM, Angelo Zanetti wrote: HI all, Does anyone know of a decent spell checker for an HTML textarea? most decent browsers (firefox, safari, etc) have one built in :) Justin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

  1   2   3   4   5   6   7   8   9   10   >