[PHP] php or juvascript convert IETF format to ISO08601

2011-03-14 Thread Jordan
Hello Evrybody, Can i convert IETF format (ex: "Wed, 18 Oct 2009 13:00:00 EST") in ISO8601 format (ex: "2009-11-05T13:15:30Z") Does somebody know some php scripte or similar? Thanks... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Documentation

2010-10-27 Thread Jordan Jovanov
Hello All, I finished with coding and now I am on the part when need to write documentation. But I don't know how to write correct documentation. Does have some rules or standard for writing documentation for PHP? Or maybe have some programs for writing documentations? Best Regards, J

[PHP] work online

2010-10-18 Thread Jordan Jovanov
Hello Everybody, Does somebody know company for PHP programing where people can work from home? Actual I only want to know does have regular or part time job for PHP developers who work from home via internet. Thanks a lot. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, v

[PHP] Search inside file :)

2010-10-11 Thread Jordan Jovanov
Hello everybody, I create one site where user can upload .zip files, but now I have one interesting problem. I need me PHP script where can have one edit box and button, user can input same text in edit box and when press on button he need to find the document who have text from edit button. D

[PHP] Install library

2010-09-17 Thread Jordan Jovanov
Hello everybody, I like to create same PDF file with PHP, i find that i must to install something like PDFLib but i can't how to istall on linux. Does somebody can help me. Thanks a lot. Jordan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.ph

[PHP] Install library

2010-09-15 Thread Jordan Jovanov
Hello All, I have one very funny question. A need me PDFlibrary. Can somebody tall me how can I download and install on my server this library. I use PuTTy to connect to my server. Does somebody know the command line for download in istall library in php. Thanks a lot. Best Regards, Jordan

[PHP] Hi

2010-09-06 Thread Jordan Jovanov
Hi All I need me a little help. I create scripte for upload file is work very good but the problem is next: I neet to upload only .zip file i need to disable some user to shoise to upload another file Extensions. Can somebody help me. Thanks a lot. -- PHP General Mailing List (http://www.php

[PHP] HTTPS SSL

2010-09-02 Thread Jordan Jovanov
Hello everybody I need me a little help. I have one web page with hhtp protocol, but i need to change in https. Somebody tell me that I need to create some SSL certificate. I use some Apache server. Do you somebody know does is easy and can i do? Does need to write some php scripts or anything?

[PHP] HTTPS

2010-08-01 Thread Jordan Jovanov
Hello I have one web page with hhtp protocol, but i need to change in https. Do you somebody know does is easy and can i do? Does need to write some php scripts or anything. Thanks a lot. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Text editor for Ubuntu with FTP

2010-07-31 Thread Jordan Jovanov
Hello to All, I only whant to star discussion for who is the best programm to write php and html script. I use dreamweaver, but now I change my OS to ubuntu and I want some suggestions for some Text editor for FTP for Ubuntu Thanks A lot Jordan Jovanov -- PHP General Mailing List (http

Re: [PHP] Do you have some standard for defined the variable in program language?

2010-07-27 Thread Jordan
pcodingstandard/ Best Regards Jovanov Jordan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Text editor

2010-07-27 Thread Jordan Jovanov
On 27/07/2010 13:53, Ashley Sheridan wrote: On Tue, 2010-07-27 at 13:49 +0200, Dušan Novaković wrote: You can use TinyMCE. It's really easy to integrate in system. Check on official website. Dusan On Tue, Jul 27, 2010 at 12:10 PM, Jordan Jovanov wrote: Hello All I need me to add for

[PHP] Text editor

2010-07-27 Thread Jordan Jovanov
lot. Jordan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Video lessons

2010-07-27 Thread Jordan Jovanov
On 24/07/2010 02:14, David Hutto wrote: On Fri, Jul 23, 2010 at 8:13 PM, David Hutto wrote: On Fri, Jul 23, 2010 at 2:35 PM, Dan Joseph wrote: On Thu, Jul 22, 2010 at 10:04 AM, Jordan Jovanovwrote: Im thing that I'm little layse, Do you somebody know PHP VIDEO LESSONS? I'

[PHP] Do you have some standard for defined the variable in program language?

2010-07-27 Thread Jordan Jovanov
variable can work all, but i want to know how is use in company. Do you have some standard for defined the variable in program language? (like ISO9001, ISO14001) Best Regard, Jordan Jovanov -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Video lessons

2010-07-22 Thread Jordan Jovanov
Hello Im thing that I'm little layse, Do you somebody know PHP VIDEO LESSONS? Thanks a lot. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Copy documents for another site.

2010-07-19 Thread Jordan Jovanov
Hello I create one site like document menage system and nide to take some date information from another site. The problem is a don't have access to date base. The site from who I need to take infomations use .htdacces but I have user and password for enter to site and i look the information.

[PHP] Dynamic menu

2010-07-19 Thread jordan
Hello All, I am new in this group and first whant to say hello to all. Need me menu who have different link if user is login or logout, something like dynamic menu. Somebody can tall me how can i use and create this menu. Thansk -- PHP General Mailing List (http://www.php.net/) To unsubscrib

Re: [PHP] Good PHP book?

2008-12-16 Thread jordan
> Ashley Sheridan a écrit : >> On Sun, 2008-12-14 at 16:33 -0600, jeffery harris wrote: >>> Hi guys/gals. I'm a first time user. Does anyone know of a good php >>> book? >>> >>> >>> >> I tend to trust O'Reilly books a lot for all things programming, >> although I learnt largely with 'PHP, Apache,

Re: [PHP] advice on sql injection/XSS prevention

2007-04-06 Thread Jordan Forssman
ectly against the source code so it doesn't need the application to be up and running. This company http://www.armorize.com/services/securityasaservice?utm_source=jordan&utm_medium=post is offering this kind of tool delivered as a service directly over the Web which means you can eithe

[PHP] PHP Security!!! www.armorize.com

2007-03-29 Thread Jordan Forssman
iscount. Check out our website at www.armorize.com Jordan _ Share folders without harming wildlife! http://www.communicationevolved.com/en-za/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP equivalent to Perl $0

2007-01-31 Thread Kevin Jordan
hp.net/unsub.php __FILE__ contains the full path and filename of the file on the filesystem. There are several $_SERVER indices that give something you can get the filename/path from as well. See http://us2.php.net/manual/en/reserved.variables.php -- Kevin Jordan -- PHP General Ma

Fwd: [PHP] Fwd: Entries no longer appear in search

2007-01-30 Thread Kevin Jordan
Damn, wish replyto was set, I keep doing that. -- Forwarded message -- From: Kevin Jordan <[EMAIL PROTECTED]> Date: Jan 30, 2007 4:07 PM Subject: Re: [PHP] Fwd: Entries no longer appear in search To: Chris <[EMAIL PROTECTED]> Sorry, wasn't sure it went throu

[PHP] Fwd: Entries no longer appear in search

2007-01-29 Thread Kevin Jordan
-- Forwarded message -- From: Kevin Jordan <[EMAIL PROTECTED]> Date: Jan 28, 2007 6:21 PM Subject: Fwd: Entries no longer appear in search To: php-general@lists.php.net, [EMAIL PROTECTED] This was originally sent to the OpenLDAP list, but it was rejected because I mention

[PHP] Fwd: Entries no longer appear in search

2007-01-28 Thread Kevin Jordan
This was originally sent to the OpenLDAP list, but it was rejected because I mentioned PHP and phpLDAPadmin and said I should send it to the appropriate lists there. -- Forwarded message -- From: Kevin Jordan <[EMAIL PROTECTED]> Date: Jan 27, 2007 4:24 PM Subject: Entr

FW: FW: [PHP] Re: Please hack my app

2006-12-19 Thread Jordan Forssman
Hi Ivo, Jordan forwarded me your mail to provide some technical explanation. First of all, sorry for the delay, due to recent business travels and out-of-office events, I haven't had a lot of time to go through my mailbox. The product version that you were using is a trial version, which

RE: FW: [PHP] Re: Please hack my app

2006-12-12 Thread Jordan Forssman
. Thanks and all the best, Jordan Forssman Sales Manager Armorize Technologies US: Tel: +1-408-512-4052 ext. 201 Fax: +1-408-247-1570 TW: Tel. +886-2-6616-0100 ext. 201 Cell. +886-938-100-214 Fax. +886-2-6616-1100 Skype: jordan4z [EMAIL PROTECTED] -Original Message- From: Ivo F.A.C

FW: [PHP] Re: Please hack my app

2006-11-27 Thread Jordan Forssman
Hi, My name is Jordan Forssman, I am representing a company called Armorize Technologies. We have developed a source code analysis platform for PHP, called CodeSecure, which scans source code for SQL injection, cross site scripting, command injection, etc, vulnerability. The tool will tell you

Re: [PHP] Questions from a ColdFusion Developer

2005-12-15 Thread Christopher Jordan
Robert Cummings <[EMAIL PROTECTED]> wrote:>On Wed, 2005-12-14 at 21:34, Christopher Jordan wrote: > Rob, > > Thanks for responding. :) I have more questions. I hope >that's okay. :) >*lol* No problem :) Thanks! :) > > You said: > "Share nothing

Re: [PHP] Questions from a ColdFusion Developer

2005-12-14 Thread Christopher Jordan
ope. Have I completely missed your point? :) Thanks again, Chris Robert Cummings <[EMAIL PROTECTED]> wrote: On Wed, 2005-12-14 at 20:50, Christopher Jordan wrote: > > When you said: > > "...the strength and simplicity of PHP stem from the decision to make/keep >

Re: [PHP] Questions from a ColdFusion Developer

2005-12-14 Thread Christopher Jordan
retrieval of 'complex' structure (i.e. objects in this case) comes with a certain performance penalty (you might want to consider using an array to store the query results) 3. you MUST load the class definitions of ALL the objects that are in your session BEFORE you start the session. Christo

[PHP] Questions from a ColdFusion Developer

2005-12-11 Thread Christopher Jordan
to do this or is there a better approach. To that end, I suppose I'm looking for an idea of the best practice. Thanks! Christopher Jordan Planet Access Arlington, TX - Yahoo! Shopping Find Great Deals on Holiday Gifts at Yahoo! Shopping

Re: [PHP] Why this doesn't work ?

2005-10-24 Thread Jordan Miller
why don't you just echo your $query to see if it is coming out correctly, before even trying to mess with mysql_query()? I think you should be able to see the problem from there. Jordan On Oct 24, 2005, at 12:44 PM, Mário Gamito wrote: Hi, Make this line instead $r

Re: [PHP] Ugh, w32 anything is making me want to drink!

2005-10-21 Thread Jordan Miller
I agree with John. It looks like you either need a hammer or the rooftop of a 5-story building... Jordan On Oct 21, 2005, at 3:26 PM, Jay Blanchard wrote: [snip] I just noticed that extension_dir in phpinfo is c:\php4 THAT AIN'T RIGHT! Why is PHP not loading the proper ini file? Th

Re: [PHP] Declaring vars as INT ?

2005-10-21 Thread Jordan Miller
Also, look at this function: http://www.php.net/ctype_digit Jordan On Oct 21, 2005, at 2:39 PM, Chris Knipe wrote: Hi, Uhm... Let's take the below quickly: Function DoSomething($Blah) { $Blah = (int) $Blah; return $Blah } $Blah, cannot be larger than 2147483647, and sometimes,

Re: [PHP] Declaring vars as INT ?

2005-10-21 Thread Jordan Miller
probably find a solution that will do what you want without mucking about like this. Just my two cents. Jordan On Oct 21, 2005, at 2:39 PM, Chris Knipe wrote: Hi, Uhm... Let's take the below quickly: Function DoSomething($Blah) { $Blah = (int) $Blah; return $Blah } $Blah, cann

Re: [PHP] Trapping for an uploaded file that's too large?

2005-10-20 Thread Jordan Miller
. Can anyone point me in the right direction? are you using PHP 5? If so, maybe check out this, below. Jordan From: [EMAIL PROTECTED] Subject: Re: [PHP] Re: PHP 5 limits "readfile" to 1.9 MB? Date: August 17, 2005 10:26:40 AM CDT To: [EMAIL

Re: [PHP] Recommended Reading?

2005-10-18 Thread Jordan Miller
Zandstra's "PHP 5 objects patterns practice" has been getting excellent reviews. i also recommend it. http://www.amazon.com/gp/product/1590593804/ On Oct 18, 2005, at 1:43 PM, Alan Lord wrote: Hi all, Forgive this long diatribe, a bit off-topic I know, but it might stimulate a good disc

Re: [PHP] RE: php-general Digest 17 Oct 2005 10:35:46 -0000 Issue 3742

2005-10-17 Thread Jordan Miller
if you have compiled php with pdflib support, you can do this fairly easily. see the manual: http://www.php.net/pdf Jordan On Oct 17, 2005, at 6:06 AM, Aftab Alam wrote: hi, any one can help me i want to generate Pdf file using php. how can i & what tools is required for

Re: [PHP] Funky array question

2005-10-16 Thread Jordan Miller
one more thing... if you have php <5 and >= 3.0.6, you could use stristr for case insensitive comparison without having to deal with the slower and more cumbersome regex. On Oct 16, 2005, at 11:18 PM, Minuk Choi wrote: Assuming that you are also accepting partial matches... (e.g. if you

Re: [PHP] Funky array question

2005-10-16 Thread Jordan Miller
sorry, I am mistaken here. I forgot that "!==" is the same functionality as a "===", in that the comparison is made by value *and* type. On Oct 16, 2005, at 11:26 PM, Jordan Miller wrote: Also, note the warning on the man page. you would want to use a triple eq

Re: [PHP] Funky array question

2005-10-16 Thread Jordan Miller
false" because stripos could return a zero or an empty string which is actually "==false". http://www.php.net/stripos/ if you do not have php 5, i would use regex so you can get case insensitivity. Jordan On Oct 16, 2005, at 11:18 PM, Minuk Choi wrote: Assuming that yo

Re: [PHP] why does this not work?

2005-09-27 Thread Jordan Miller
before you can do this properly, probably through a POST form or GET request. nice idea, though (dynamically loading css based on screen resolution). see: http://forums.devshed.com/t3846/s.html Jordan On Sep 27, 2005, at 3:20 AM, Ross wrote: This returns the correct value for $width but

Re: [PHP] Easy question - delete strings from the beginning of space...

2005-09-20 Thread Jordan Miller
to get rid of potential double spaces after the explode, you could do: foreach ($words as $word) { if (!empty($word)) { $first = $word; break; } } echo $first; This will always return the first word. Jordan On Sep 20, 2005, at 7:24 AM, Jochem Maas wrote: how much

Re: [PHP] Can I install versions of PHP/MySQL that will be compatible with my host server?

2005-09-19 Thread Jordan Miller
That is very interesting, thank you. We cannot escape politics, eh? Jordan On Sep 19, 2005, at 9:32 AM, Jochem Maas wrote: Jordan Miller wrote: On Sep 19, 2005, at 8:31 AM, Jochem Maas wrote: e.g: $var = array_pop( explode('-', '1-2-3-4-5') ); .. is bad code (read

Re: [PHP] Can I install versions of PHP/MySQL that will be compatible with my host server?

2005-09-19 Thread Jordan Miller
. Jochem, Whoa... what do you mean by this, exactly? I am running PHP 5.0.4 and $var is correctly set with the code you give above. I could not find anything like you describe in the array_pop manual (see below). Please elaborate on why this is "bad" code. Jordan array_pop (PHP 4

Re: [PHP] Way for script to discover it's path?

2005-09-18 Thread Jordan Miller
Hey Ken, The variable you want is already a superglobal known as $_SERVER ['SCRIPT_FILENAME']. See: http://www.php.net/reserved.variables Do something like this to get started: echo $_SERVER['SCRIPT_FILENAME']; Good luck. Jordan On Sep 18, 2005, at 4:58 PM, Ke

Re: [PHP] email validation regex

2005-09-16 Thread Jordan Miller
What do you mean? What's wrong with top posting? ;) Jordan On Sep 16, 2005, at 11:31 AM, John Nichel wrote: bruce wrote: hi.. looking for a good/working/tested php email validation regex that conforms to the rfc2822 standard. a lot of what i've seen from google breaks, or does

Re: [PHP] Domain Info Possible?

2005-09-15 Thread Jordan Miller
g files so you can see all the stats you desire. Jordan On Sep 15, 2005, at 11:07 AM, Chirantan Ghosh wrote: Hello, I was wondering if there was way to generate domain statistics by any PHP script? I just need some basic info like: Monthly Traffic( Sites, Kbytes, Visits, Pages, F

Re: [PHP] A tricky little addition

2005-09-14 Thread Jordan Miller
the syntax for variable variables is: $variable= $$add; or alternatively: $variable= ${$add}; Jordan On Sep 14, 2005, at 2:25 PM, Ross wrote: $variable= "$".$add; -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] whats wrong in this program.

2005-09-14 Thread Jordan Miller
php's autotyping is so great anyway). Jordan On Sep 14, 2005, at 10:54 AM, John Nichel wrote: Jordan Miller wrote: you need single quotes around $subnum in the sql statement. don't know why you seem to be arbitrarily leaving them off (put them around $uv and $dur

Re: [PHP] whats wrong in this program.

2005-09-14 Thread Jordan Miller
p.net/mysql_real_escape_string Jordan On Sep 14, 2005, at 6:36 AM, babu wrote: Hi, I tried to use the final array values in a insert statement, but the values are not inserted. the code is foreach ($final as $subnum){ $res = $db->query("INSERT INTO substrate_protocoll (s

Re: [PHP] Deny access from certain hosts

2005-09-14 Thread Jordan Miller
cking: in the getFile.php file, you could check the referring URL, and then present the file, or not. you would need to move the images out of the web tree, though, so people couldn't bypass your script. it sounds like you need to reconsider what you really want, though. Jordan

Re: [PHP] whats wrong in this program.

2005-09-13 Thread Jordan Miller
ot;All your values in the range 10,12,14-18 are 10 12 14 15 16 17 18" In your last email, you had some of the values given out of order: 1. 20,21-24 2. 21-24,20 3. 10,20,21-24,25,26,30 To make sure the $final values are always ascending, just do this at the end: sort($final); Done!! Jo

Re: [PHP] array simple question

2005-09-13 Thread Jordan Miller
please provide code and an example output, and say how this is different than you would like. what you describe is unclear. Jordan On Sep 13, 2005, at 4:04 PM, matt VanDeWalle wrote: hello, I have a simple question, not really a problem this time. I know that the function print_r() will

Re: [PHP] Deny access from certain hosts

2005-09-13 Thread Jordan Miller
you need to do it like this: Order Allow,Deny Allow from all Deny from 85.65.154 http://httpd.apache.org/docs/1.3/mod/mod_access.html Jordan On Sep 13, 2005, at 2:30 PM, David Pollack wrote: Hello, I have a problem where someone is illegally linking to my site. There site is in

Re: [PHP] Round with ONE-decimal... always...

2005-09-12 Thread Jordan Miller
besides sprintf, number_format will also do it: number_format(6, 1, ',', ''); // Outputs '6,0' Jordan On Sep 12, 2005, at 3:52 AM, Gustav Wiberg wrote: Hi there! I want to adjust the round() -function a little... If I put round(6,0) there will be an o

Re: [PHP] Books / tutorials on Object Oriented Programming with PHP

2005-09-10 Thread Jordan Miller
Here is a thorough review on the Zandstra book: http://books.slashdot.org/article.pl?sid=05/08/16/0434205&tid=169&tid=6 Jordan On Sep 9, 2005, at 6:39 PM, Jason Coffin wrote: On 9/9/05, Vinayakam Murugan <[EMAIL PROTECTED]> wrote: I am learning about Object Oriented Progra

Re: [PHP] Convert a timestamp to RFC822??

2005-09-10 Thread Jordan Miller
we *just* had a post similar to this. It's easy, just use the date() and strtotime() functions: $timestamp = '2004-05-14 13:24:48'; $RFC_formatted = date('r', strtotime($timestamp)); done! Jordan On Sep 10, 2005, at 11:14 AM, Brian Dunning wrote: I get my time

Re: [PHP] Better timestamp explanation to the client

2005-09-08 Thread Jordan Miller
t;, >, or -) with the datetime as is, without having to convert to a unix timestamp. "NOW" in datetime format can be gotten with: $now = date('Y-m-d H:i:s'); i'm not sure though. just try it! Jordan On Sep 8, 2005, at 9:41 AM, Ryan A wrote: Hi, In one of our tables w

Re: [PHP] Sessions , expiry times and different time zones

2005-09-08 Thread Jordan Miller
like and expect. Another benefit is that this is more secure than relying on a cookie-supplied expiration time. Jordan On Sep 6, 2005, at 8:51 PM, Dan Rossi wrote: client cookie expires hence no more session ... On 07/09/2005, at 1:57 AM, Jordan Miller wrote: Hi Dan, Couldn't

Re: [PHP] Checking a date for validity

2005-09-07 Thread Jordan Miller
x27;t recommend a good one offhand, but there are several that are DHTML and JS only, so that should be a good starting point for standards compliance. See: http://www.dynarch.com/projects/calendar/ and http://www.google.com/search?q=dhtml+popup+calendar Jordan On Sep 7, 2005, at 5:39 PM, Todd

Re: [PHP] Assign values in foreach-loop

2005-09-07 Thread Jordan Miller
== $arr2['id']) { $_SESSION['arr1'][$key]['selected'] = true; } } } Jordan On Sep 7, 2005, at 12:22 PM, Jordan Miller wrote: foreach ($_SESSION['arr1'] as $arr1) { foreach ($_SESSION['arr2'] as $arr2) { if ($arr1[&

Re: [PHP] Assign values in foreach-loop

2005-09-07 Thread Jordan Miller
P 5, you can easily modify array's elements by preceding $value with &. This will assign reference instead of copying the value. Jordan On Sep 7, 2005, at 12:14 PM, Sabine wrote: Hello to all, is it possible to assign values to the array for which I do the foreach-loo

Re: [PHP] Sessions , expiry times and different time zones

2005-09-06 Thread Jordan Miller
times relative to the server's time). Then, it shouldn't matter from which time zone the user is browsing. Jordan On Sep 6, 2005, at 10:37 AM, Dan Rossi wrote: hi there I have run into problems with sessions , cookies and expiryt times with different time zones. Ie our server is

Re: [PHP] how to divide string

2005-09-05 Thread Jordan Miller
he comments for earlier versions of php. Jordan On Sep 5, 2005, at 6:50 AM, Adi Zebic wrote: Hi, is there any magic function who can give me from: $string = " abcdefghijklmnopqrstuwvxyz"; somthing like this: abcd efgh ijkl mnop qrst uwvx yz (each 'x' letters go to

Re: [PHP] Help: Get the value of pi up to 200+ digits?

2005-09-01 Thread Jordan Miller
. Your code does exactly this, displaying pi with 15 decimal places. Jordan On Sep 1, 2005, at 8:06 AM, Wong HoWang wrote: Dear all, I'm trying to do like this but failed: How can I get more digits after . ? Can anyone help? Thx! -- PHP General Mailing List (http://www.php.net

Re: [PHP] Nested IFs Problem

2005-08-31 Thread Jordan Miller
uot; on both sides of the operator to have the "<" properly evaluated... do the same for the date comparison. just try each if statement individually. then, when you find the problem, rewrite like this: if ((putFirstExpressionHere) && (putSecondExpressionHere) && (putTh

Re: [PHP] running process in the background

2005-08-31 Thread Jordan Miller
... foreach ($_POST[$key] ... Jordan Did you try also sending stderr to /dev/null rather than stdout only? I think the syntax is to add a "2>&1": foreach ($_POST as $kid){ `php run.php param1 param2 > /dev/null 2>&1 &`; } This should put each process in the backgroun

Re: [PHP] Browsing Into Levels

2005-08-30 Thread Jordan Miller
when displaying each page. Jordan On Aug 30, 2005, at 11:01 AM, Greg Schnippel wrote: Good answer, I think thats what they were looking for but just in case: Most of the breadcrumb classes out there (at least the ones that showed up in an initial google search) use either the existing

Re: [PHP] Browsing Into Levels

2005-08-30 Thread Jordan Miller
They are called breadcrumbs: http://www.google.com/search?q=php+breadcrumbs Jordan On Aug 30, 2005, at 4:57 AM, areguera wrote: Hi, I been wondering the best way to make the level browsing, I mean, those links up in page which tell you the position you are, and make you able to return

Re: [PHP] invert

2005-08-25 Thread Jordan Miller
you need to provide more information. we cannot tell what you are doing. you should: **PASTE THE RELEVANT SECTION OF YOUR CODE IN YOUR EMAIL** On Aug 25, 2005, at 2:38 PM, George B wrote: Łukasz 'nostra' Wojciechowski wrote: W odpowiedzi na maila (21:21 - 25 sierpnia 2005): I have wri

Re: [PHP] invert

2005-08-25 Thread Jordan Miller
if you are using mysql, just put the "DESC" (descending) directive at the end of your sql statement (default is no "DESC" directive, meaning ascending). most recent records will be returned first. Jordan On Aug 25, 2005, at 2:21 PM, George B wrote: I have written a sh

Re: [PHP] syntax for two comparison operators

2005-08-25 Thread Jordan Miller
Good to know about expression evaluation. Writing the expression(s) like that (left-to-right and right-to-left) solves my dilemma... thanks! Jordan On Aug 25, 2005, at 2:44 AM, Richard Lynch wrote: I personally would use: ((2 < $x) && ($x <= 4)) -- PHP General Mail

[PHP] syntax for two comparison operators

2005-08-24 Thread Jordan Miller
guess there may be a considerable codebase change required. Maybe there could be a default function workaround for this or some other way to automagically process these more concise expressions without too much of a slowdown?? Just curious. Jordan -- PHP General Mailing List (http://www.php.net/) T

Re: [PHP] Problem with SimpleXML

2005-08-24 Thread Jordan Miller
ach ($xml->movie[0]->rating as $rating) { switch((string) $rating['type']) { // Get attributes as element indices case 'thumbs': echo $rating, ' thumbs up'; break; case 'stars': echo $rating, ' stars'; break;

Re: [PHP] Special HTML characters question.

2005-08-22 Thread Jordan Miller
Did you try html_entity_decode? http://us2.php.net/html_entity_decode You may want to combine this with mysql_real_escape_string()...? Jordan On Aug 22, 2005, at 8:29 AM, Jay Paulson wrote: I have a problem that I'm sure some of you have run into before, therefore I hope you all kn

Re: [PHP] build sql query struture and values from form fields

2005-08-22 Thread Jordan Miller
I agree, you must be careful of SQL injection... use mysql_real_escape_string(). To chop off the last character of text use substr(): $sqlstruct = substr($sqlstruct, 0, -1); Jordan http://www.php.net/substr Example 3. Using a negative length On Aug 20, 2005, at 4:55 PM, Greg Donald

Re: [PHP] Week Days

2005-08-19 Thread Jordan Miller
Yo, All you need is the mktime() command. do something like: $futureDate = date("Y-m-d", mktime(0, 0, 0, $month, $today+ $daysToAdd, $year)); Jordan http://www.php.net/mktime mktime() is useful for doing date arithmetic and validation, as it will automatically calculate the cor

Re: [PHP] PHP MySQL insert

2005-08-18 Thread Jordan Miller
$data1."', '".$data2."')"; echo $query."\n"; to ensure proper handling of all data in the sql commands. If you echo your $query before the insert, what do you get? This is always a good practice when you're having trouble. Jord

Re: [PHP] Re: sending HTML (incl. embedded images) to browser

2005-08-18 Thread Jordan Miller
Pardon me, but I don't think he is trying to send an HTML email. I believe he is just asking about making a simple webpage. Relative URLs should be fine and are often preferable for portability. Jordan On Aug 17, 2005, at 7:34 PM, Manuel Lemos wrote: Hello, on 08/17/2005 07:42 PM

Re: [PHP] sending HTML (incl. embedded images) to browser

2005-08-17 Thread Jordan Miller
s are just not in the right directory or are not being referenced correctly. also, what is the actual PHP code used to print the img tag? maybe you're not escaping quotes correctly...? Jordan On Aug 17, 2005, at 5:42 PM, Jake Sapirstein wrote: Hi List, I am a PHP newbie, pardon the

Re: [PHP] Help correcting a form mailer problem...

2005-08-17 Thread Jordan Miller
php page). This is your only problem. i.e. change the code so that the output here: http://www.passeycorp.com/event_reg_calc.php will change from this: to this: checked="checked"/> Jordan On Aug 17, 2005, at 4:52 PM, Support wrote: Thanks for the post... The problem I am havin

Re: [PHP] Help correcting a form mailer problem...

2005-08-17 Thread Jordan Miller
checkbox. Jordan On Aug 17, 2005, at 3:57 PM, <[EMAIL PROTECTED]> wrote: Sorry I should clarify... checkboxes don't send their values through they send their names and states... so if you have the array: Name="qmev[1]"... name="qmev[2]"... name="q

Re: [PHP] Help correcting a form mailer problem...

2005-08-17 Thread Jordan Miller
wherever you think you are adding data to the gmev array, you are merely adding the "on" string. I would search your script for the string "on" and you will find the problem. what you need is the value in the HTML form to be the text you want inserted into the array

Re: [PHP] mail()

2005-08-17 Thread Jordan Miller
Did you install sendmail? http://www.php.net/mail Requirements For the Mail functions to be available, PHP must have access to the sendmail binary on your system during compile time. If you use another mail program, such as qmail or postfix, be sure to use the appropriate sendmail wrapp

Re: [PHP] Re: PHP 5 limits "readfile" to 1.9 MB?

2005-08-17 Thread Jordan Miller
nough as a buffer. If you have a 53MB file, what will happen then ? I have no idea if it's a bug or a feature. Either way I did lose some hair over this when I switched from PHP4 to PHP5. Catalin Jordan Miller wrote: Catalin, Wow, that worked great, thanks. I'm curious why you se

Re: [PHP] Re: PHP 5 limits "readfile" to 1.9 MB?

2005-08-17 Thread Jordan Miller
Ok, just checking (I am new to the fopen() function). That makes sense. Awesome, thanks! Jordan On Aug 17, 2005, at 10:19 AM, Catalin Trifu wrote: Hi, Indeed a fclose($fp) is needed (wrote it as an example :)). 1MB is more than enough as a buffer. If you have a 53MB file, what

Re: [PHP] How Can I delete an Item of one array

2005-08-17 Thread Jordan Miller
you use the unset() function: unset($array[$key]); // http://www.php.net/unset you can reindex the keys if they are numeric with: $reindexedArray = array_values($array); // http://www.php.net/ array_values Jordan On Aug 17, 2005, at 1:12 PM, Tomás Rodriguez Orta wrote: Hi people. How

Re: [PHP] optional argument when creating a function

2005-08-17 Thread Jordan Miller
} } haven't tested this, but give it a try. Jordan On Aug 17, 2005, at 10:00 AM, D A GERM wrote: I'm throwing a warning on a function I created. I thought a & in front of the argument was supposed to make it optional. Is there something else I need to do make that argumen

Re: [PHP] Re: PHP 5 limits "readfile" to 1.9 MB?

2005-08-17 Thread Jordan Miller
e has been downloaded. So is this a bug in PHP 5 or are they just purposely limiting the abilities of the "readfile" command? Jordan On Aug 17, 2005, at 3:36 AM, Catalin Trifu wrote: Hi, I've had a similar problem. The download always stopped at exactly 2.000.000

[PHP] PHP 5 limits "readfile" to 1.9 MB?

2005-08-16 Thread Jordan Miller
same settings, above What am I doing wrong??? Any other parameter in php.ini I should have set? Any suggestions are much appreciated. thanks, Jordan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] datetime formatting problem

2004-05-28 Thread Jordan S. Jones
[snip /] Hi Matt, try this: function formatDate($val) { $timestamp = strtotime($val); return date('M d, Y g:i A', $timestamp); } strtotime possibly will not work if your date is < 01/01/1970. [snip /] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.n

Re: [PHP] Code Review PLEASE !!!

2004-04-05 Thread Jordan S. Jones
t any data that comes from a form. Even if the ids come from the database, you still want to ensure that they really are a valid numerical value or whatever your ids happen to be based upon. Jordan S. Jones Matthew Oatham wrote: Yes I agree I need some validation, dunno whether to do server

Re: [PHP] Code Review PLEASE !!!

2004-04-05 Thread Jordan S. Jones
or even a number? What happens with $_POST['fleet_id'] == '1 = 1'?? Well, long story short, imp_fleet has no more records. Just a simple example of a huge problem. Jordan S. Jones Matthew Oatham wrote: Hi, I am a newbie PHP programmer, I have some code that works but I want s

[PHP] PHP 4.3.4 EAPI

2004-03-23 Thread Jordan S. Jones
r would be greatly appreciated.. Thanks, Jordan S. Jones -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] newbie pls help

2004-02-03 Thread Jordan S. Jones
This might help as well: http://www.php.net/manual/en/installation.php Jordan S. Jones Mrs. Geeta Thanu wrote: Hi all, I want to install apache and php in a redhat box version 8 and want apache to load php. So how i shld proceed. Just downloading the rpms of both and installing will help or I

Re: [PHP] HTML via echo or not

2003-12-29 Thread Jordan S. Jones
Why make PHP work harder than it needs to? Jordan Robin Kopetzky wrote: Good evening. I'm probably going to stir up a hornet's nest but have a question. Does using echo for ALL html pages mean I have a sick mind? Example: echo CR, '', CR, '

Re: [PHP] Help With Recursion && Multi-Dimensional Arrays

2003-11-08 Thread Jordan S. Jones
; Category Y | > Category AC | > Category BC | > Category Z | > Category c Category 3 in a multi-dimentional array Jordan S. Jones Navid Yar wrote: Hello Guys, I n

Re: [PHP] OT - Quick JavaScript Question

2003-10-28 Thread Jordan S. Jones
. I was wondering if anyone knew of a way I could pass the server time into the JavaScript Date() function to make it start counting from that time, instead of the users machine time. Thanks, Jake Yes, http://devedge.netscape.com/library/manuals/2000/javascript/1.5/reference/date.html#1193137 Jord

  1   2   3   >