[PHP] Re: Code works in reverse order...

2001-07-18 Thread Jeremy Maziarz
Dhaval, Without looking into this further, the one thing that stands out to me (I am pretty sure) is the fact that mysql_num_rows() returns an int. So testing for "" (empty string) is not going to work. Try instead: ... if ($check != 0) ... -Jeremy Maziarz Email: [EMAIL PROTECTED]

[PHP] whatever.php

2001-07-18 Thread Jeremy Morano
HI I'm using require("whatever.php")to access my variables...it works. The problem is my "whatever.php" page shows up on top of my current page. Is there a simple clear screen I can use??? I tried include and the same thing happens. What do I do? -- PHP General Mailing List (http://www.ph

[PHP] variable

2001-07-18 Thread Jeremy Morano
hi is there any way I can pass a variable without using require() or include()? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] screen

2001-07-18 Thread Jeremy Morano
is there any refresh or clear screen function in php? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] is this right?

2001-07-19 Thread Jeremy Morano
is this right? cause its not working. first I connect, then I select my db, and then the problem $sql = "GLOBAL $company; DROP TABLE $company "; $result = @mysql_query($sql,$connection) or die("Couldn't execute query."); -- PHP General Mailing List (http://www.php.net/) To unsub

[PHP] screen2

2001-07-19 Thread Jeremy Morano
Can anybody tell me how to refresh or clear a screen in php code and if not, please tell me,, "It cannot be done." -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e

[PHP] bug?

2001-07-19 Thread Jeremy Morano
Does anybody know of a common bug where a variable contains what seems to be a generated random number instead of the input data that was given? I'm inputting all sorts of info and only one variable is acting strange..hmmm -- PHP General Mailing List (http://www.php.net/) T

[PHP] days

2001-07-19 Thread Jeremy Morano
The employees here and I have noticed that we have a variable that works when it wants to... But for days at a time. One day it works fine all day. Another day it fills up with garbage instead of what its supposed toBut whats particular about this is that it lasts all day. Good or bad, the be

[PHP] Re: .htaccess

2001-07-24 Thread Jeremy Maziarz
Jon, Try $REMOTE_USER -Jeremy Email: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] is this right

2001-07-24 Thread Jeremy Morano
this doesn't work,how should it be done? insert into test (uid, companyUid) values(1, select uid from companysTable where company = "Micrsoft"); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To cont

[PHP] whats wrong

2001-07-24 Thread Jeremy Morano
Whats wrong with this? $sql = "INSERT INTO $table_name (uid,companyUid, first_name, last_name, address, state, zip_code, country, company, occupation, telephone, fax, email, user_name, password) SELECT \"\", \"uid from companyTable WHERE company= "Itsolutions"\, \"$first_name\",\"$last_name\",\"

[PHP] copy shortcut

2001-07-26 Thread Jeremy Morano
I would like to know if there is a way to dissable the copy shortcut in my pages? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] Re: naming conventions

2001-07-27 Thread Jeremy Maziarz
dress FROM people, place WHERE people.place_id = place.place_id AND place.place_name = 'IBM'; Otherwise, it would be difficult to differenciate between place_id (the foreign key for the PEOPLE table) and place_id (the primary key for the PLACE table). -Jeremy Email: [EMAIL PROTECTED]

[PHP] Delete

2001-07-27 Thread Jeremy Morano
Hi, im trying to delete a record from a table where the value of a field must be equal to the value of a field of another table.I know this is wrong but I need to show you what I mean. I think I'm missing a very important select statement to join them...can anyo

[PHP] Limit

2001-07-30 Thread Jeremy Morano
How do I put a limit of records that can be entered in a table? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] disable?

2001-07-31 Thread Jeremy Morano
Hi, I was wondering if there was any way to dissable something from the mouse right click? ex: When a user visits my site, I don't want them to be able to use the copy shortcut on the right mouse click. How would I do this? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mai

[PHP] whats wrong?

2001-07-31 Thread Jeremy Morano
Anythig visibly wrong with this? "> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] not null

2001-08-01 Thread Jeremy Morano
Hi, When a field is declared as an integer, not null and is the primary, how would I address it's empty set? ex: if($value == ???) { bla bla bla } My condition wants there to be nothing in $value. -- PHP General Mailing List

[PHP] echo

2001-08-03 Thread Jeremy Morano
$sql = "SELECT first_name, last_name, address, state, zip_code, country, company, occupation, telephone, fax, email, entry_name, password, package, registration_date, valid_until, max_users FROM $table_name WHERE uid = \"$uid\" "; $result = @mysql_query($sql,$connectio

[PHP] count()?

2001-08-06 Thread Jeremy Morano
Hi, I was woundering how to read and find the # of records in my table... Do I use count()??? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTE

[PHP] get value

2001-08-06 Thread Jeremy Morano
hi,,, can someone tell me how to access the value of count? please? - $db = @mysql_select_db($db_name, $connection) or die("Couldn't select database."); $sql = "SELECT count(*) FROM $table_name, comp

[PHP] close browser

2001-08-07 Thread Jeremy Morano
Hi, Can anybody tell me what the code to close the browser is? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] newbie

2001-08-08 Thread Jeremy Morano
Hi, I'm a real newbie at this stuff and I have a little problem... I read the manual but the answer to my questions were not clear. What I am trying do do is track down a user when he or she visits my site. I would like to store some information about them into mySql...Information like, username,

[PHP] Select

2001-08-14 Thread Jeremy Morano
Hi, I'm having a problem with my Select statement. This is what i'm doing: $connection = @mysql_connect("l", "c", "c") or die("Couldn't connect."); $db = @mysql_select_db($db_name, $connection) or die("Couldn't select database."); $sql =" SELECT * FROM table_1 "; $result = @

[PHP] stuck

2001-08-17 Thread Jeremy Morano
Hi, Can someone please tell me what is wrong with this page. The problem is that my option block is always stuck on the last record in the table. No matter what option I choose, the information, address, city, state...etc, that is passed is always the one of the last record in the table...Help!

[PHP] sessions

2001-08-17 Thread Jeremy Morano
Hi there, I was wondering if a function such as session_close() or session_stop() existed. You see, i've been using session_destroy and/or session_unregister but the problem is that they unregister and/or destroy ALL my sessions in my server folder. What I am trying to do is just stop the session

[PHP] crop string?

2001-08-20 Thread Jeremy Morano
Hi, I would like to know how to crop this string from this, $string = \home\folder1\folder2\page1.php to this $string = page1.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the

[PHP] basename()

2001-08-20 Thread Jeremy Morano
Hello, Can someone please show me how to use basename() correctly? This is what I am doing: $file = basename ($path); $file = basename ($path,".php3"); This is the error I'm gettig: Warning: Wrong parameter count for basename() in /home/virtual/ppcu/home/httpd/html/jeremy/sta

[PHP] session_unregister

2001-08-20 Thread Jeremy Morano
Help me! I'm working with sessions and having some difficulty. I have my session_register(variable) at the top of page 1 and page 2. I use the session_unregister(variable) at the bottom of page 2, everything seems to work fine at this point. The problem is, sometimes the user needs to visit pag

[PHP] sessions

2001-08-21 Thread Jeremy Morano
Hi , I'm having problems with my session_unregister(). Maybe what i'm trying to do can't be done but I would like someones opinion. This is what I am doing and why i'm doing it. session_start(); session_unregister(val_1); session_register(val_1); I am doing this to clear the contents of val_1 b

[PHP] column_name

2001-08-22 Thread Jeremy Morano
Hi , I was wondering if there was a way to retreive a column_name instead of a value in a query? For example if my table has the fieldfirstname, lastname, telephone, movie1, movie2, movie3.. And my first record is JohnDoe 555- good bad bad My

[PHP] strange error

2001-08-22 Thread Jeremy Morano
Hi, I get an error message which I can't figure out. Its a Parse error: on line 142 which is the last line of the page containing absolutly no code. The last line of code is simply ..Did anyone have a similar experience? Can anyone help me out please? -- PHP General Mailing List (http

[PHP] always last

2001-08-23 Thread Jeremy Morano
Hi, I need a little bit of help. My variable $team in the option block is always set to the last variable that is readI would like it to contain the option that the user clicks.Please help me! My Select works properly ... $result = @mysql_query($sql,$connection) or die("Couldn't exe

[PHP] \n

2001-08-24 Thread Jeremy Morano
Sorry to bother you with what probably seems like a useless question but why is this not skipping a line? echo " $team \n "; Its in a while loop and the output is: Bears Giants Jets etc -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

[PHP] limit 1

2001-08-24 Thread Jeremy Morano
Hi, I wondering if it was possible to use limit on part of a query and not all. this is my query which works the way it should. $sql = "SELECT users.names FROM users, selection Where users.name = selection.name and setting = 'on' limit 1 "; What I would li

[PHP] clause

2001-08-27 Thread Jeremy Morano
Hi, Can somebody help me out? My where clause is completely being ignored. More specifically the <>. I tried to use != and that didn't work either. However, when I substitute it with an = , It fuctions correctly. Right now, the output is all the users.uid and all the users.username from the tabl

[PHP] concatenate?

2001-08-28 Thread Jeremy Morano
Hello, I was just wondering if there was a simple function like str_con or something like that to concatenate strings? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrat

[PHP] fix my query please

2001-08-28 Thread Jeremy Morano
an somebody please fix up my query. $connection = @mysql_connect("l", "c", "c") or die("Couldn't connect."); $db = @mysql_select_db($db_name, $connection) or die("Couldn't select database."); $sql = "SELECT distinct users.uid , users.username FROM users LEFT OUTER JOIN picks using(

[PHP] im puzzled

2001-08-29 Thread Jeremy Morano
Hi , this is my query SELECT users.uid FROM users, picks WHERE users.uid = picks.user_id; this works correctly. The results are what they are supposed to be: However, when I change the = sign to a <> or !=, The results are completely incorrect. -- picks.user_id

[PHP] JOIN

2001-08-30 Thread Jeremy Morano
Sorry everone but I 'm having a hard time with joins How do I add this clause: users.uid = selection.user_uid from table selection to this query: $sql = "SELECT users.uid, users.username FROM users LEFT JOIN picks ON users.uid = picks.user_id WHERE picks.user_id IS NULL Thank You. --

[PHP] FW: correction to JOIN

2001-08-30 Thread Jeremy Morano
-Original Message- From: Jeremy Morano [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 30, 2001 12:05 PM To: [EMAIL PROTECTED] Subject: JOIN Sorry everone but I 'm having a hard time with joins How do I add this clause: users.uid <> selection.user_uid from tabl

[PHP] isset

2001-09-04 Thread Jeremy Morano
Hi , Is there anyway of hiding the name of the website in the isset "Enter Network Password" window? if (isset( $PHP_AUTH_USER ) && isset($PHP_AUTH_PW)) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTEC

[PHP] authenticate

2001-09-04 Thread Jeremy Morano
Hi, Is there anyway that I can hide my website name in the authenticate window? if ( ! $auth ) { header( 'WWW-Authenticate: Basic realm="Private"); header( 'HTTP/1.0 401 Unauthorized' ); echo 'Authorization Required.'; exit; } -- PHP General Mailing List (http://www.php.

[PHP] option block

2001-09-04 Thread Jeremy Morano
Hello everyone, I'm having a problem with my option block... I'm trying to pass the value of uid to the next page. I always get the last uid value in table user. How can I change this so I get to pass the value of the user's choice? $sql = "SELECT user.uid, user.first_name, user.last_name

[PHP] clear contents?

2001-09-07 Thread Jeremy Morano
Hi everone... I'm having a little problem. The code below pops up a password dialog box where the user types in a username and a password to be able to proceed. However, if the user does not close the browser and goes back to the link, which they pops up the diolog box again and they don't have t

[PHP] NT?

2001-09-10 Thread Jeremy Morano
Hello, Sorry to bother everyone. I was just wondering if php runs on NT? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] Newbie Question: Array Comparison ---

2001-09-19 Thread Jeremy Moles
This is a simple question, but I'm having trouble figuring out a solution. Let's say I have 2 arrays: $DoNotPrint=array("a","b","c"); $Foo=array("c","d","e"): What is the best way to print every value in $Foo that does NOT match a value in $DoNotPrint? For instance, in this example, "c" should

Re: [PHP] Newbie Question: Array Comparison ---

2001-09-19 Thread Jeremy Moles
I don't quite understand what you're saying. I'm really sorry. Could you show me some code? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECT

[PHP] array

2001-09-24 Thread Jeremy Morano
Hello everyone. I'm encountering difficulties using my arrays. while ($row = mysql_fetch_array($result)) { $link[$c] = $row['link']; $c = $c + 1; } This is where I try using it. while ($row = mysql_fetch_array($result)) { $date = $row['date']; $pat

Re: [PHP] How to nest information from different tables.

2004-07-30 Thread Jeremy Berthet
You have forgotten one table in your second query, try this : $eventdetails_query = mysql_query("select details, information, file_name from event, eventdetails where event.id = eventdetails.event_id"); Karl-Heinz Schulz wrote: Thank you for the information but I still have some problems. I use t

Re: [PHP] segmentation fault - my fault?

2007-02-12 Thread Jeremy Privett
take all elements in all arrays and flatten them down to one array. Thus the result of the example above should be array(1,2,..,6) Marc -- Jeremy C. Privett Chief Operating Officer Zend Certified Engineer Completely Unique [EMAIL PROTECTED] Phone: 303.459.4819 Mobile:303.883.

Re: [PHP] segmentation fault - my fault?

2007-02-12 Thread Jeremy Privett
gt; 7 [7] => 8 [8] => 9 [9] => 10 [test] => 11 [test2] => 12 [10] => 13 [11] => 14 [12] => 15 [13] => 16 [14] => 17 [15] => 18 [16] => 19 [17] => 20 ) This preserves array keys if it's an associative array being

Re: [PHP] Re: $35 to the first person who can do this XML-parsing PHP script

2007-03-08 Thread Jeremy Privett
Rob Gould wrote: Ok, well at least I'm honing in on the problems now. I appears that my ISP is only running php 4.4.4. So back in the PHP 4-days, what was the preferred method of doing such things? - Rob Expat would probably be the way to go, then. http://www.php.net/xml -- Jer

[PHP] auto page generation

2007-04-15 Thread Jeremy Adams
I'm building a website right now that will be a database of attractions in the Carolina and Virginia area. The idea is that attraction owners can submit data to the database and the database will automatically generate a page containing that information. What I'm trying to figure out is how to gen

Re: [PHP] define() an array?

2007-04-20 Thread Jeremy Privett
nsensitive] ) And isn't "mixed" of any type? /Peter --PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php . In this case, "mixed" means any scalar value. And "mixed" usually applies when a variable can be of more th

[PHP] semaphore release before acquire warning

2011-05-02 Thread Jeremy Greene
. or at least there's a rounder peg available. I did look into disabling the warning, but that got me more concerned since it seemed like a frowned upon thing to do and even more of a performance hit. The irony is that I'm using shared memory (and signals) exactly for performance reasons L Jeremy

RE: [PHP] semaphore release before acquire warning

2011-05-02 Thread Jeremy Greene
I have had really bad luck with signals. They can be “lost” in more than one way. I thought this was the far more reliable and correct way… at least from that point of view. Jeremy From: Nathan Nobbe [mailto:quickshif...@gmail.com] Sent: Monday, May 02, 2011 5:01 PM To: Jeremy Greene

[PHP] sem_get invalid argument for existing semaphore

2011-05-04 Thread Jeremy Greene
nclusion posted... I really hope I have better luck!! Jeremy

RE: [PHP] sem_get invalid argument for existing semaphore

2011-05-04 Thread Jeremy Greene
Sorry for the bad formatting... Anyway, I did figure out the problem: php creates/expects each system v semaphore to be a semaphore group of 3. So, not only is that weird, it really should be documented. Jeremy -Original Message- From: Jeremy Greene [mailto:jer...@zeevee.com] Sent

[PHP] semaphores are broken

2011-05-06 Thread Jeremy Greene
I do find it interesting that it's not discussed more on the list... but semaphores are kind of silly in php. Jeremy

RE: [PHP] semaphores are broken

2011-05-08 Thread Jeremy Greene
hesitant to put much code in an interrupt handler -- I have always thought that has issues too. Jeremy -Original Message- From: Rasmus Lerdorf [mailto:ras...@lerdorf.com] Sent: Sunday, May 08, 2011 11:38 AM To: Jeremy Greene Cc: php-general@lists.php.net Subject: Re: [PHP] semaphores are brok

Re: [PHP] hello everybody

2012-03-18 Thread Jeremy Wei
you can read the content about form dealing in php manual: http://us.php.net/manual/en/tutorial.forms.php On Sun, Mar 18, 2012 at 7:34 PM, saeed ahmed wrote: > i am a full time warehouse worker and do not have time.i hardly can spend > 2/3 hours a week on internet(at work we do not use internet b

[PHP] file uploads

2005-02-26 Thread Jeremy Freedman
I got the files to upload correctly using

[PHP] Increase execution time

2005-03-10 Thread Jeremy Schreckhise
How do you increase the execution time in php? I have set max_execution_time to 360 and setting set_time_limit(0); nothing works. I still get Fatal Error: maximum execution time of 60 seconds. Please Help.

[PHP] include literal

2005-03-28 Thread Jeremy Reynolds
What if I want to include some literal test into a PHP document that I don't want it to interpret as it loads. In particular, I am working with XML but for the example's sake I will say PHP. Example: -- DocumentA.txt: --- --- Document B: -- -- I would l

[PHP] xml question

2005-03-29 Thread Jeremy Reynolds
, that would make sense. But I haven't run across anything like that so far. How does that work? Jeremy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] XSL problem

2005-04-18 Thread Jeremy Reynolds
I'm very new to XML and XSL and feel very helpless about a problem I am having. I've tried several message boards with no luck. The problem I am having is this... === Problem: can't retrieve the "1" from the ERRORCODE tag. I've narrowed down the source to the xmlns attribute in

[PHP] gather reply from POST

2005-05-18 Thread Jeremy Reynolds
I received this useful bit of code for storing a page into a variable instead of loading it as an include. But how can I modify this to submit some parameters to a page and collect the returned page / HTML into a variable?? Jeremy -- $text = file_get_contents('Document

Re: [PHP] gather reply from POST

2005-05-18 Thread Jeremy Reynolds
On Wed, May 18, 2005 11:55 am, Jeremy Reynolds said: I received this useful bit of code for storing a page into a variable instead of loading it as an include. But how can I modify this to submit some parameters to a page and collect the returned page / HTML into a variable?? Jeremy

Re: [PHP] Tables in a pdf files

2004-04-13 Thread Jeremy Clifton
solution called htmldoc (you can probably find it on Google) that will convert HTML to a PDF file, but it's not as easy to deal with, and the PDFs it creates are, in my opinion, not nearly as nice as the ones created by PDF class above. Jeremy -- PHP General Mailing List (http://www.php.net

Re: [PHP] "Cannot generate system identifier" error while validating

2004-05-05 Thread Jeremy Clifton
ation problems should go away. Jeremy <[EMAIL PROTECTED]> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Send HTML/plain text email using PHP

2004-05-30 Thread Jeremy Johnstone
Google it and you will have everything you need. -JEremy On Friday 28 May 2004 05:49 am, Matt MacLeod wrote: > I've been having a little trouble configuring a script to send a > multipart email using PHP. > > The script send the message, but when I recieve the email it doesn&#x

Re: [PHP] CVS web front end

2004-05-30 Thread Jeremy Johnstone
Although I have never seen a full app, I have seen PHP code which handles checkin/checkout of files as a class. I don't know if that will help you, but if it will then please let me know and I will dig it up. -Jeremy On Saturday 29 May 2004 09:50 pm, Brian V Bonini wrote: > On Sat, 20

[PHP] including external C header files and libraries

2004-07-15 Thread Jeremy Booker
I have a 3rd party SDK written in C. It includes a compiled .a file and a header file (.h). Is there any way that I can call the functions included in the SDK from within a php script? Regards, Jeremy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Newline

2007-10-29 Thread Jeremy Mcentire
line\n Yet, the same thing in double quotes: some linewith a tab, a variable foo, and a newline As a result, I use single quotes whenever I can. Otherwise, double. Jeremy Mcentire Ant Farmer ZooToo LLC On Oct 29, 2007, at 6:15 AM, Nathan Nobbe wrote: On 10/29/07, Crayon Shin Chan &

Re: [PHP] what is the point of prepare?

2007-10-29 Thread Jeremy Mcentire
ove the step of validation -- so they say. I'd rather not try {} catch{} a query and give an error on failure... so, I prepare the data as I test its validity anyway. Jeremy Mcentire Ant Farmer ZooToo LLC On Oct 29, 2007, at 6:06 AM, Hulf wrote: Hi, Begining using the php5 mysql functions a

Re: [PHP] problem with bind_param

2007-10-29 Thread Jeremy Mcentire
d' in the above example, string, string, string, decimal. Further, you should probably make sure that your $_POST data is set and isn't null or a variable type other than what is expected. Jeremy Mcentire Ant Farmer ZooToo LLC On Oct 29, 2007, at 9:51 AM, Hulf wrote: Hi, I am still

Re: [PHP] Newbie question - current date - time

2007-11-15 Thread Jeremy Mcentire
On Nov 14, 2007, at 4:21 PM, Jürgen Wind wrote: better use Date() in js ... tedd-2 wrote: Current date/time for whom? For your server, use php's date(). For the user, use javascript's date(). It's so cool to be multilingual. :-) Cheers, tedd I don't know that that's better. Then, suddenly, o

Re: [PHP] Loop issues

2007-11-16 Thread Jeremy Mcentire
So, take a look at what's below and see how it works for you. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Foreach question

2007-11-16 Thread Jeremy Mcentire
On Nov 15, 2007, at 7:50 PM, Juan Marcelo Rodríguez wrote: 2007/11/15, Philip Thompson <[EMAIL PROTECTED]>: On Nov 15, 2007 5:12 PM, Juan Marcelo Rodríguez < [EMAIL PROTECTED]> wrote: Yes, I made a mistake in the first sentence. The code is : [...] foreach ($equipos as $key => $val){ echo ""

Re: [PHP] Loop issues

2007-11-16 Thread Jeremy Mcentire
t just echoing in a loop, but defining an array of results to begin with. Then, of course, you can simply iterate over the resulting array when you display. Jeremy Mcentire Ant Farmer ZooToo LLC On Nov 16, 2007, at 1:57 PM, Dan Shirah wrote: Hello all, I am having trouble trying to figur

Re: [PHP] Loop issues

2007-11-16 Thread Jeremy Mcentire
Yeah...see...I'm confused apparently! My while loop is getting all of the names correctly, apparently my problem is...once i get them, how do I echo each one out seperately? Based off of the print_r($cs_row) I can see all of the names. What should I be doing differently to output each name

Re: [PHP] Professional inquiry for you freelancers

2007-12-05 Thread Jeremy Privett
or a living and split the difference based on the client's needs. Jeremy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Securing your Sites

2007-12-17 Thread Jeremy Mcentire
at was the "PHP-Back-door Trojan" exactly? Jeremy Mcentire Ant Farmer ZooToo LLC -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Objects as array key names??

2008-03-15 Thread Jeremy Mcentire
On Mar 15, 2008, at 7:16 PM, Ray Hauge wrote: Jim Lucas wrote: It has been brought to my attention that with Perl and Ruby, you can use Objects as the value of the key within an array. The examples that were shown to me make me think that this would be an awesome ability to have within PHP

[PHP] mysqli_stmt_bind_result

2008-03-18 Thread Jeremy Mcentire
$this->st->close(); $this->db->close(); } } $sql = " SELECT `id`, `name` FROM `user` WHERE 1 "; $params = array( 'id', 'name', ); $user_iterator = new StmtIterator($sql, $params); while ($user_iterator->fetch()){ echo isset($this->db->name) ? "in the local scope name as {$name}." : null; } Jeremy Mcentire Ant Farmer ZooToo LLC -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Beware of round() function

2008-03-24 Thread Jeremy Privett
[EMAIL PROTECTED] wrote: Beware: round() apparently has changed its behavior from PHP 4. This is actually a change in the behavior of the float type, not the round function. Replace your round() with a cast to float and you'll see the exact same result. -- Jeremy Privett C.E.O. &a

Re: [PHP] Beware of round() function

2008-03-24 Thread Jeremy Privett
Jeremy Privett wrote: [EMAIL PROTECTED] wrote: Beware: round() apparently has changed its behavior from PHP 4. This is actually a change in the behavior of the float type, not the round function. Replace your round() with a cast to float and you'll see the exact same result. Also,

[PHP] New Ajax search component

2008-04-08 Thread Jeremy O'Connor
library, which you need to get from their website. You can view a demo and download the source at: http://jeremywebdeveloper.co.za/code/ajaxsearch/ -- Jeremy O'Connor -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] New Ajax search component

2008-04-08 Thread Jeremy O'Connor
""Jay Blanchard"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Cool...I'd have the 'submit' button hidden until results were returned > so as to avoid user confusion. Yes, something to add in a later version of the component. -- J

Re: [PHP] New Ajax search component

2008-04-08 Thread Jeremy O'Connor
""Nathan Nobbe"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Tue, Apr 8, 2008 at 7:41 AM, Jeremy O'Connor <[EMAIL PROTECTED]> > wrote: > they pretty much have that in the scriptacuous lib under > Ajax.Autocompleter, > at

Re: [PHP] What is the practical use of "abstract" and "interface"?

2008-04-16 Thread Jeremy Privett
nion is on the feature of the language. Useless or not, if it's not your project, you don't get to make that call. If it is your project, do whatever you want. -- Jeremy Privett C.E.O. & C.S.A. Omega Vortex Corporation http://www.omegavortex.net Please note: This message has bee

Re: [PHP] What is the practical use of "abstract" and "interface"?

2008-04-16 Thread Jeremy Privett
Nathan Nobbe wrote: On Wed, Apr 16, 2008 at 12:56 PM, Jeremy Privett <[EMAIL PROTECTED]> wrote: This is a holy war that is never going to end. It boils down to personal and professional preferences. The fact of the matter is, if a company uses these concepts and you don't know,

Re: [PHP] PHP Code I Must find

2008-05-29 Thread Jeremy Privett
ndlodge.mb.ca; would be this in latin characters: mailto:[EMAIL PROTECTED]/ http://www.asciitable.com/ http://www.php.net/ord The rest should be easy to figure out on your own. -- Jeremy Privett C.E.O. & C.S.A. Omega Vortex Corporation http://www.omegavortex.net Please note: This mess

[PHP] Re: PHP 5, Windows, and MySQL

2006-06-27 Thread Jeremy Schreckhise
I ran into the same problems; here is how I solved them. 1. Install MySQL 5 2. Install PHP 5 3. Modify php.ini extensions directive to point to php_mysql.dll (the one that was packaged with php 5) 4. Here is the tricky one make sure mysql is finding the libmysql.dll packaged W

RE: [PHP] Re: A variable inside a variable?

2006-06-27 Thread Jeremy Schreckhise
I ran into the same problems; here is how I solved them. 1. Install MySQL 5 2. Install PHP 5 3. Modify php.ini extensions directive to point to php_mysql.dll (the one that was packaged with php 5) 4. Here is the tricky one make sure mysql is finding the libmysql.dll packaged

RE: [PHP] Re: PHP 5, Windows, and MySQL

2006-06-27 Thread Jeremy Schreckhise
Here is the direct download portal for the two corrected crucial .dlls. http://dev.mysql.com/downloads/connector/php/ -Original Message- From: Jeremy Schreckhise [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 27, 2006 10:14 AM To: php-general@lists.php.net Subject: [PHP] Re: PHP 5

RE: [PHP] Re: PHP 5, Windows, and MySQL

2006-06-27 Thread Jeremy Schreckhise
But is libmysql.dll the dll from mysql; the one packaged with php 5 will not work. Jeremy Schreckhise, M.B.A -Original Message- From: Beauford [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 27, 2006 10:33 AM To: php-general@lists.php.net Subject: RE: [PHP] Re: PHP 5, Windows, and MySQL

RE: [PHP] Programming question - New to PHP

2006-06-29 Thread Jeremy Schreckhise
Try $link = mysql_connect('localhost',$youruser,$yourpassword) or die(); mysql_select_db('yourdb'); $query = 'SELECT * FROM Moses_Lake_Lions'; if(!$result = mysql_query ($query,$link)) { // do error c

RE: [PHP] Max File Upload

2006-08-15 Thread Jeremy Privett
al/en/ini.php#ini.list Like it says in the user contributed notes on that page, you have to use php_value in .htaccess to adjust the setting. Example: php_value upload_max_filesize 20M --- Jeremy C. Privett Director of Product Development Zend Certified Engineer Completely Unique [EMAIL PROTECTED]

<    1   2   3   4   >