Search Discussions

206 discussions - 1,382 posts

  • Hello everyone, I am trying to create a PHP login script using cookies but am having some troubles. Here is my setup index.php - authenticate.php - admin.php I want a login form on index.php that ...
    Jason CarsonJason Carson
    Jul 6, 2009 at 4:03 am
    Jul 10, 2009 at 10:33 am
  • Hi everyone, My server appears to be the victim of a chinese hack-attack and I believe they managed to change pages via SQL Injection, do any of you have any ideas how to lock down my forms so MySQL ...
    Chris PayneChris Payne
    Jul 10, 2009 at 7:48 pm
    Jul 14, 2009 at 1:07 pm
  • How do I get basename(__FILE__) or htmlentities($somevar) to be evaluated in a heredoc? ------------ Govinda govinda.webdnatalk@gmail.com
    Jul 11, 2009 at 12:25 am
    Jul 13, 2009 at 1:55 am
  • I am trying to make a page that displays a-z like a b c d e etc as links then when you click open one it reloads itself and shows only the query results that go with that letter...i'm not getting ...
    Miller, TerionMiller, Terion
    Jul 14, 2009 at 7:38 pm
    Sep 23, 2009 at 4:58 pm
  • See http://bugs.php.net/?id=48612 "Thank you for taking the time to write to us, but this is not a bug. And RTFM". (RTFM is my interpretation of the rest). And that only took a little more than a ...
    Per JessenPer Jessen
    Jul 24, 2009 at 12:41 pm
    Jul 27, 2009 at 6:36 pm
  • Hi all, ..sitting here thinking this is so easy, and I must have been over this already in the past.. but it is eluding me just now.. I can't figure out why files with the .html extension ARE being ...
    Jul 19, 2009 at 12:01 am
    Jul 20, 2009 at 8:20 am
  • I need to take this: $pastDays = strtotime("-30 days"); $past_day = date("d", $pastDays); $past_month = date("m", $pastDays); $past_year =date("y", $pastDays); And make it into one var to compare to ...
    Miller, TerionMiller, Terion
    Jul 28, 2009 at 1:32 pm
    Jul 28, 2009 at 4:03 pm
  • This may be more of a MySQL question than PHP, but I'm hoping someone can point me in the right direction. I have working code (below) that pulls data from a particular category in our db. I'd like ...
    Jul 28, 2009 at 2:12 pm
    Aug 5, 2009 at 4:29 am
  • Hello, I’m tryng to make some replacements on a string. Everything goês fine until the regular expression. $file = "screens/temp/7a45gfdi6icpan1jtb1j99o925_1_main.jpg"; echo $a = ...
    Jul 22, 2009 at 12:02 pm
    Jul 22, 2009 at 11:59 pm
  • I am confusing myself reading the docs just now. i.e.: include_path basename() and dirname() I had thought from many months ago that <?php include '/somedir/somefile.php'; ? would include ...
    Jul 5, 2009 at 8:33 pm
    Jul 7, 2009 at 6:28 am
  • Hi all, I have a doubt with creating and destroying sessions in PHP using session_destroy(). Supposing there is a PHP-based website hosted on a web server. Now I add another site that I developed ...
    Jul 21, 2009 at 7:13 pm
    Jul 24, 2009 at 2:00 am
  • Hello, I have a Animals DAO class that I'd like to apply a pagination class to it. Between this two classes, there will be a composition relation (more precisely, an association one). My question is: ...
    Jul 19, 2009 at 11:54 am
    Jul 22, 2009 at 7:42 pm
  • Hello, My name ich Chantale, I am 15years old and in a german Lycee. I like to study Informatic in two years and now try to code my first applications. I am new to php and like to code my own ...
    Schneider ChantaleSchneider Chantale
    Jul 6, 2009 at 8:15 am
    Jul 11, 2009 at 4:05 pm
  • Ladies and Gentlemen: First of all, if you're new to the list, welcome. At the risk of bragging about our collective talents, you are now a member of a community that is home to what may be some of ...
    Daniel P. BrownDaniel P. Brown
    Jul 12, 2009 at 12:06 am
    Jul 21, 2009 at 6:26 pm
  • Hi everyone! So some of you may have noticed that I have been away for quite awhile... Been trying to get settled (Moved across the country) and getting a job. And now that that is done I have a ...
    Jason PruimJason Pruim
    Jul 17, 2009 at 3:12 pm
    Jul 19, 2009 at 6:49 am
  • Hi Do you noted that all the discussion here are about problems, bugs, or just "urgent pleaaase help me" I have an idea. It is not really THE idea... but it is. What happen if tell this idea to the ...
    Martin ScottaMartin Scotta
    Jul 15, 2009 at 4:21 am
    Jul 15, 2009 at 9:18 pm
  • I need this to say : If row notes is not empty and is alpha echo notes How do I get the is alpha part in here; If (!empty($row['notes'])) { echo(" $trimNotes "); } I tried..... If ...
    Miller, TerionMiller, Terion
    Jul 31, 2009 at 1:53 pm
    Aug 1, 2009 at 6:57 pm
  • I have this script that works, just a couple tweeks needed... 1. I don't want it to default to A being selected 2. I need the number range part to only display one # sign not 10 of them, somehow I ...
    Miller, TerionMiller, Terion
    Jul 31, 2009 at 4:53 pm
    Aug 1, 2009 at 6:20 am
  • I'm trying to figure out how to test if a string matches *exactly* another string, using a regexp pattern. The manual says that ereg() is deprecated (in favour of what?) and preg_match() is giving me ...
    Jul 29, 2009 at 5:51 pm
    Jul 31, 2009 at 10:51 am
  • Anybody noticed php.net is down? It's responding to pings. But no pages load.
    Thijs LensselinkThijs Lensselink
    Jul 16, 2009 at 10:30 am
    Jul 17, 2009 at 8:29 am
  • hi guys, i need some help by optimize the performance. my problem is that i need a lot of rows the whole site (don't ask i need the rows really :-) ) this is about ~4000 rows it will be loaded from ...
    Jul 10, 2009 at 4:22 pm
    Jul 10, 2009 at 10:53 pm
  • Consider the following: $finfo = finfo_open( FILEINFO_MIME, '/usr/share/file/magic' ); if( $finfo ) { $mimeType = finfo_file( $finfo, '/path/to/my/excel.xls' ); finfo_close($finfo); } echo $mimeType; ...
    Christoph BogetChristoph Boget
    Jul 29, 2009 at 9:15 pm
    Jul 31, 2009 at 9:50 am
  • I am trying to get rid of empty whitespace lines, I can't us chop() because as I read it it will remove all whitespaces....right? Right now my db is outputting with extra lines, I have stripped tags ...
    Miller, TerionMiller, Terion
    Jul 29, 2009 at 6:29 pm
    Jul 29, 2009 at 8:18 pm
  • I'm trying to profile a site on our development server to see why it takes around 4 seconds to generate a pretty basic page. I installed xdebug to use for the profiling, and now I'm really confused. ...
    Andrew BallardAndrew Ballard
    Jul 23, 2009 at 8:38 pm
    Jul 27, 2009 at 12:56 pm
  • Why isn't this working for searching? // Run query on submitted values. Store results in $SESSION and redirect to restaurants.php $sql = "SELECT name, address, inDate, inType, notes, critical, ...
    Miller, TerionMiller, Terion
    Jul 21, 2009 at 4:26 pm
    Jul 21, 2009 at 5:57 pm
  • Hey everyone, I've been hard at work on a new web application, and discovered something that I would never have seen coming. I was noticing that when I called session_start() after a few lines of ...
    James ColanninoJames Colannino
    Jul 10, 2009 at 5:20 am
    Jul 12, 2009 at 6:17 pm
  • Hi: I am hoping someone can help me figure this out.... I've just upgraded my PHP installation to 5.3.0. Now I am receiving thousands of log messages of the form "PHP Deprecated: ...". I know I have ...
    Jeff WeinbergerJeff Weinberger
    Jul 6, 2009 at 9:16 pm
    Jul 8, 2009 at 7:11 am
  • Hi gang, I've been looking for a str_to_date (mysql) equivalent in PHP. I've noticed that these are matching the description: http://www.php.net/manual/en/datetime.createfromformat.php ...
    Jul 28, 2009 at 4:59 pm
    Jul 28, 2009 at 5:48 pm
  • I want to store only 1000 records at a time in the session variable thought I could use a range(1,1000.... How would you do this, store the first 1000 , then the second on refresh etc My snippet so ...
    Miller, TerionMiller, Terion
    Jul 27, 2009 at 2:30 pm
    Jul 27, 2009 at 3:35 pm
  • newbie ... - is there a calendar module for date fields? - so that a small calendar pops up - then you can click on a date, to add to a field - like google or yahoo calendars has...? BTW: I saw this ...
    Jul 22, 2009 at 1:06 am
    Jul 23, 2009 at 4:00 am
  • I'm still struggling with using ranges... Can they be passed to a query somehow... I have this so far but it pulls nothing: //Show all with $letter not between "A" and "Z" if ($selectedLetter = "#") ...
    Miller, TerionMiller, Terion
    Jul 31, 2009 at 9:24 pm
    Aug 3, 2009 at 7:23 pm
  • How to build an FF extension and how to install it. I'm using Fedora 10 operating system. Can someone please provide me with the steps Thanks J.K
    Javed KhanJaved Khan
    Jul 23, 2009 at 3:31 am
    Jul 23, 2009 at 3:36 pm
  • PHP Gurus, I'm currently having a problem with PHP writing text to a PNG image on one server. I have various web sites hosted on various servers, and on most of them, the script that generates the ...
    Dave M GDave M G
    Jul 23, 2009 at 5:08 pm
    Aug 5, 2009 at 10:47 am
  • I have a question that follows on from this discussion. I have a loop which creates a number of files. It first write each file to a server location then sets up the headers and asks the "Save As" ...
    Tony mountTony mount
    Jul 27, 2009 at 12:24 pm
    Jul 27, 2009 at 10:09 pm
  • I have a web page with a button that displays additional information for the user. It does a Window.Open to create a "popup" window, then populates it. If the user goes back to the web page without ...
    Jul 27, 2009 at 12:31 pm
    Jul 27, 2009 at 6:37 pm
  • I'm almost there with my little pagination script but now I'm hung on the "Unexpected T_Variable" error...which in the past has been a semi-colon missing so I'm not sure why this is throwing ...
    Miller, TerionMiller, Terion
    Jul 16, 2009 at 4:17 pm
    Jul 16, 2009 at 6:10 pm
  • Hi to all I get a problem processing an image with GD libraries. This is my function public function showPicture($id) { header('Content-type: image/jpeg'); $mime = mime_content_type($this- ...
    Il pinguino volanteIl pinguino volante
    Jul 14, 2009 at 3:48 pm
    Jul 15, 2009 at 9:52 am
  • Hi, I'm trying to learn php mostly by reading the docs and pulling through other peoples projects for reference examples. One particular application I'm looking at has a ton of variables being ...
    Jul 8, 2009 at 4:30 pm
    Jul 10, 2009 at 1:54 pm
  • Ok, say you have a database with 16000 records in it, but you only want to call out say 2000 records at a time as the search/query is performed, then store the first 2000 in a session and then ...
    Miller, TerionMiller, Terion
    Jul 6, 2009 at 2:48 pm
    Jul 7, 2009 at 6:21 am
  • Hello everybody, How would I go about writing stuff to a file but in between the <?php ? tags? Example, say I have config.php as follows... <?php $hostname = "localhost"; $database = "database"; ...
    Jason CarsonJason Carson
    Jul 3, 2009 at 10:01 am
    Jul 4, 2009 at 11:21 am
  • Whats the cleanest (I have a really ugly) way to break this: [21/Jul/2009:00:00:47 -0300] into: date=21/jul/2009 time=00:00:47 Caveats: 1) if the day is < 10 the beginning of the string will look ...
    Paul HallidayPaul Halliday
    Jul 31, 2009 at 9:22 pm
    Aug 4, 2009 at 4:26 pm
  • Hi, Is there a possibility that if there is no font installed on client side somehow browser finds it and redirect that font form server to client machine. For example: I have site that use Microsoft ...
    Dušan NovakovićDušan Novaković
    Jul 28, 2009 at 10:07 am
    Jul 29, 2009 at 12:42 am
  • Hi, I have a form in which my sales reps can add new clients into the database, but I'm running into a problem if the client's name includes a single quote, such as O'Henry, when it comes time to ...
    Ben MillerBen Miller
    Jul 27, 2009 at 4:35 pm
    Jul 28, 2009 at 7:19 am
  • Hello everyone, Lets say I have a file called form.php with the following form on it that redirects to index.php when submitted. I would like to take the values of the text fields in the form and put ...
    Jason CarsonJason Carson
    Jul 24, 2009 at 4:01 am
    Jul 24, 2009 at 5:24 am
  • Hi, It isn't really a programming question, but rather a structural. Let's suppose I have a PHP page, which is built by other PHP files' includes. Which is the better approach: in a switch-like ...
    Sándor Tamás (HostWare Kft . )Sándor Tamás (HostWare Kft . )
    Jul 23, 2009 at 9:36 am
    Jul 24, 2009 at 2:45 am
  • Hello everyone, I am having a problem getting my prepared statements working. Here is my setup... index.php - authenticate.php - admin.php 1)index.php has a login form on it so when someone enters ...
    Jason CarsonJason Carson
    Jul 12, 2009 at 4:31 am
    Jul 21, 2009 at 6:33 pm
  • Hi all! I'd like to add php.net to my browser search box. Most browser can do it by "looking" at some XML provided by the site. The HTML must contain a simple link tag like this <link rel="search" ...
    Martin ScottaMartin Scotta
    Jul 16, 2009 at 3:59 pm
    Jul 17, 2009 at 1:55 pm
  • The atmosphere is weird now so you all may think I am out there. . but this is a sincere question- (and not due to dumb oversight of my HTML code) I have a mysterious "f" character (Yes, just the ...
    Jul 9, 2009 at 9:50 pm
    Jul 10, 2009 at 9:46 am
  • Hello, This is probably a dumb newbie question. I am running PHP 5.2.5 and Apache 2.2.8 on my Mac Book Pro OS X 10.4.11. I compiled PHP and Apache from source a while ago (as opposed to using the ...
    Mari MasudaMari Masuda
    Jul 1, 2009 at 6:49 pm
    Jul 3, 2009 at 3:58 pm
  • Ok in my output to Quark I need to have $P printed to the page like this: <@$p 2118 S. Campbell Ave So in my php which is going to be grabbing this info and formatting it for the Quark....isn't ...
    Miller, TerionMiller, Terion
    Jul 29, 2009 at 3:36 pm
    Jul 31, 2009 at 8:30 am
Group Navigation
period‹ prev | Jul 2009 | next ›
Group Overview
groupphp-general @

221 users for July 2009

Ashley Sheridan: 89 posts Daniel Brown: 71 posts Miller, Terion: 71 posts Phpster: 54 posts Jim Lucas: 46 posts Andrew Ballard: 40 posts Govinda: 40 posts Michael A. Peters: 37 posts Eddie Drapkin: 35 posts Tedd: 34 posts Paul M Foster: 33 posts Shawn McKenzie: 33 posts Martin Scotta: 31 posts Stuart: 30 posts Tony Marston: 22 posts Bob McConnell: 19 posts Jason Carson: 18 posts Floyd Resler: 17 posts Per Jessen: 17 posts MEM: 16 posts
show more