FAQ

Search Discussions

1,169 discussions - 4,111 posts

  • Can I run a php script in crontab? Do I echo or print? Anyone doing it?
    John Taylor-JohnstonJohn Taylor-Johnston
    Mar 4, 2003 at 8:44 pm
    Oct 30, 2003 at 11:50 pm
  • * People, sorry my ugly English. I´m Brazilian... I am looking for learning more about sessions... I´m test this code below don´t work with me.... My php version is 4.1.2. Anybody have a complete ...
    André CupiniAndré Cupini
    Mar 12, 2003 at 1:03 pm
    Mar 13, 2003 at 8:54 am
  • dear all, hi! in my php script registration1.php, i have written javascript for form validation i.e. for checking if the mandatory fields are filled correctly or not. but on clicking the submit ...
    Diksha NeelDiksha Neel
    Mar 7, 2003 at 12:28 pm
    Mar 7, 2003 at 4:34 pm
  • Is there any way of using php to launch a new browser without the IE toolbars?
    Manuel OchoaManuel Ochoa
    Mar 27, 2003 at 8:32 pm
    Mar 28, 2003 at 11:02 pm
  • I'm really tired of trying to figure out the PHP manual and need something that explains things in plain straight forward English. Like get_magic_quotes_gpc() for example - the manual says how to use ...
    Beauford.2002Beauford.2002
    Mar 28, 2003 at 9:57 pm
    Mar 31, 2003 at 6:40 pm
  • I'd like to canvas opinions about what's needed to clean user input. I'm using an HTML form where users enter simple things like name and phone number, but also a couple of small text areas for ...
    RotskyRotsky
    Mar 20, 2003 at 12:18 am
    Mar 21, 2003 at 10:35 am
  • Has anyone ever simply tried to pass information direct from the web into a secure Intranet mysql DB rather than to a web DB? I am thinking down one of three lines. 1) I use PHP to send an email with ...
    Steve JacksonSteve Jackson
    Mar 26, 2003 at 7:29 am
    Apr 1, 2003 at 5:32 pm
  • Anyone know how to get the auto_increment $value out of a mysql table. I'm thinking it is in mysql_fetch_array but don't see how to get it.
    John Taylor-JohnstonJohn Taylor-Johnston
    Mar 10, 2003 at 5:15 am
    Mar 28, 2003 at 1:01 pm
  • I have read some posts to this list on sessions and have read as much as I can find on them, but one problem still exists which I can't figure out. How do I kill the session when the user leaves my ...
    Beauford.2002Beauford.2002
    Mar 21, 2003 at 6:01 am
    Mar 22, 2003 at 2:39 pm
  • I have a display of images that every fourth image I want to start a new column. In ColdFusion I would use the MOD operator like this: if query.recordcount MOD 4 eq 0 </td <td /if I am just having a ...
    Clint TredwayClint Tredway
    Mar 10, 2003 at 7:58 pm
    Mar 30, 2003 at 8:43 pm
  • Hi, is it possible to have a checkbox that if it is specified to be checked when the page is being formulated then it cannot be unchecked?
    ShaunShaun
    Mar 26, 2003 at 5:26 pm
    Mar 28, 2003 at 8:56 am
  • how can you return this randomized? how can I get every time I call this function a random set of lines ? Working Code to read 10 first lines and split the individual line into info careeners and do ...
    WebDevWebDev
    Mar 4, 2003 at 6:15 am
    Mar 24, 2003 at 9:19 pm
  • hi every one here o got one problem here on the php take a look at this <html <body <form method="post" action="add_reg.php3" Nombre :<input type="Text" name="nombre" <br Teléfono:<input type="Text" ...
    Luis ALuis A
    Mar 5, 2003 at 3:08 pm
    Mar 21, 2003 at 5:36 pm
  • I'm used to asp and not php, but what would the code be for and if statement that was like: if $HTTP_GET_VARS["pr_ID"] = "nothing" then "there are no products" end if Also does anyone know a great ...
    Tim HaskinsTim Haskins
    Mar 31, 2003 at 7:54 pm
    Mar 31, 2003 at 10:22 pm
  • Hi all, I have a mySQL DB that stores word documents (as a BLOB). I am trying to find a way of doing a word count on the documents using PHP. Can anyone help?? Thanks in advance, Brad
    Brad WrightBrad Wright
    Mar 17, 2003 at 5:43 am
    Mar 19, 2003 at 10:11 am
  • Hi, Is any way to write JavaScript code into PHP function or to send PHP's variables values to the JScript variables? Thanks,
    ValentinValentin
    Mar 2, 2003 at 3:44 pm
    Mar 21, 2003 at 9:04 pm
  • How to grab the last -n lines from a data file and display the stored data Only the the last 10 line numbers coming back when I echo $i How do I get the list($adnr, $user, $date, $listed .... to ...
    WebDevWebDev
    Mar 6, 2003 at 7:22 pm
    Mar 6, 2003 at 9:32 pm
  • I am using ereg to validate the format of a date entry (mm/dd/yy), but if the year ends in a 0, it is being stripped and as such produces an error. So 1990 would be 199. The dob is being inputted by ...
    BeaufordBeauford
    Mar 30, 2003 at 6:17 pm
    Mar 31, 2003 at 6:43 am
  • The mysql support list is slow, so I though I would post here since I know this list is more active. MySQL shuts down when I start it up... # Starting mysqld daemon with databases from /home/mysqldb ...
    Joseph BannonJoseph Bannon
    Mar 29, 2003 at 4:36 am
    Mar 29, 2003 at 5:07 pm
  • Hi all, can php call perl scripts? I know nothing of perl, but have found a perl script that will process a MSword document in a way that it seems php cannot. At this stage, my knowledge of perl is ...
    Brad WrightBrad Wright
    Mar 27, 2003 at 1:00 pm
    Mar 28, 2003 at 8:18 pm
  • I have a customer that wants to return a 403 Forbidden header/page when certain conditions are met. I looked through the online manual and all the examples listed would not work. This is what I am ...
    Christopher DittyChristopher Ditty
    Mar 27, 2003 at 3:42 pm
    Mar 28, 2003 at 3:48 am
  • Hi everybody, I am currently trying to understand how to place content on a different site without giving away my code. SOAP seems to be the solution. I am absolutly new to web services. What I did ...
    MerlinMerlin
    Mar 20, 2003 at 10:00 pm
    Mar 28, 2003 at 3:09 pm
  • hi, I am trying to play and learn php along with mysql and I have a question about connecting to a db. Is the following code necessary on every php page where I am retrieving some data from a db or ...
    IggyIggy
    Mar 25, 2003 at 1:49 pm
    Mar 26, 2003 at 5:04 am
  • Greetings all. I have used strtotime() function in the past, and done this: if($time = strtotime('24 hours ago')) { $new = "new!"; } with it being in UNIX time stamp .. But now I have a different ...
    SebastianSebastian
    Mar 2, 2003 at 5:34 am
    Mar 19, 2003 at 9:40 pm
  • Required: Help for checking for a valid email string. ------ Philip J. Newman. Head Developer info@philipnz.com +64 (9) 576 9491 +64 021-048-3999 ------ Friends are like stars You can't allways see ...
    Philip J. NewmanPhilip J. Newman
    Mar 12, 2003 at 12:48 am
    Mar 15, 2003 at 8:08 am
  • For some reason my webhost doesn't allow the HTTP_REFERER variable. I call it up and it's empty, so I did a print_r($HTTP_SERVER_VARS); and there wasn't a variable called HTTP_REFERER. I've heard ...
    StephenStephen
    Mar 11, 2003 at 12:45 am
    Mar 11, 2003 at 10:59 pm
  • I know this is probably an easy question, but I am using stripslashes() on a textarea var, and I don't think it's working. It doesn't error, but in the testarea it doesn't seem to work. Ex: $var = ...
    Dade RegisterDade Register
    Mar 2, 2003 at 12:48 am
    Mar 9, 2003 at 3:20 pm
  • How is it I can properly get PHP to represent dollar signs when putting it into HTML? I know that dollar signs denote the beginning of a variable, like $reference or $ftpstream or whatever. However, ...
    Liam GibbsLiam Gibbs
    Mar 7, 2003 at 5:56 am
    Mar 7, 2003 at 5:15 pm
  • hi.. i guess this is a php related question (well sort of) the person i work with decided that he was going to edit a few of my php scripts that make a web page out of variables and just different ...
    SunfireSunfire
    Mar 2, 2003 at 8:17 pm
    Mar 3, 2003 at 12:41 am
  • hi, just wanna know if there is anything in php that can be used (besides sessions) to get anything from the $_SERVER that is unique and gets changed each time we close the browser. anything at all ...
    Haseeb IqbalHaseeb Iqbal
    Mar 28, 2003 at 2:43 pm
    Mar 29, 2003 at 5:01 pm
  • Is there some thing that needs to be turned on in the php.ini in order to be able to upload photos VIA php? I have the same script on one machine with the right permissions on the upload dirs on one ...
    VernonVernon
    Mar 27, 2003 at 12:41 am
    Mar 27, 2003 at 6:30 pm
  • Is it just as quick to do: if($r == 0) { } else if($r != 0) { } than to do: if($r == 0) { } else { } The reason I like the former method is because, in a large IF-ELSE block, it's clear what belongs ...
    Liam GibbsLiam Gibbs
    Mar 18, 2003 at 7:51 pm
    Mar 19, 2003 at 10:27 am
  • I'm just learning PHP so please excuse my ignorance. I'm trying to extract the data from a simply formatted text file via a simple PHP script. The goal of this project is to take Magic the Gathering ...
    John WulffJohn Wulff
    Mar 8, 2003 at 1:25 am
    Mar 12, 2003 at 6:20 am
  • Hello! I'm new here on the list. I hope you can help me! :) I have a function foo1 which has a parameter $params. In the function i want to pass $params to another function foo2. if $params is an ...
    Christian BartelsChristian Bartels
    Mar 4, 2003 at 9:52 am
    Mar 4, 2003 at 11:25 am
  • Hi, Trying to install PHP 4.3.1 but getting the following error message: "configure error: cURL version 7.9.8 or later is required to compile php with cURL support" I have curl installed; when I ...
    DonDon
    Mar 31, 2003 at 10:02 pm
    Apr 2, 2003 at 3:32 pm
  • Hi all, I'm running the below code to download a text file. After the save as window comes up, I can correctly save the document. However, the browser goes to a "Action Cancelled" error page. Here's ...
    Doug ConingDoug Coning
    Mar 10, 2003 at 9:25 pm
    Mar 29, 2003 at 2:26 am
  • I have been trying to validate a form field Last_Name and have been unable to find a regexp to account for the apostrophe (e.g., O'Reilly). The following statement: ...
    TpcTpc
    Mar 12, 2003 at 8:41 pm
    Mar 28, 2003 at 12:23 am
  • How come this function works, but the one below does not?? function clearContactVars() { global $contact_id; $contact_id = ""; global $contact_timestamp; $contact_timestamp = ""; global ...
    Daevid VincentDaevid Vincent
    Mar 26, 2003 at 8:36 pm
    Mar 27, 2003 at 8:50 am
  • Hello, I'd like to uncompress to the Hard disk a zip file send by the browser. At this time I do this: function uncompresszip($zipfile) { copy($zipfile, ...
    Vincent M.Vincent M.
    Mar 19, 2003 at 5:35 pm
    Mar 26, 2003 at 5:27 pm
  • How can send bcc: with mail()? -- Programmers are tools for convert coffeine into code... (c) Oden Add photos to your messages with MSN 8. Get 2 months FREE*. ...
    Oden OdeniusOden Odenius
    Mar 24, 2003 at 8:44 pm
    Mar 25, 2003 at 11:28 am
  • Hello friends, Can the mail() function send emails to multiple addresses which are formatted as follows : person1@hotmail.com,person2@yahoo.com,person3@yahoo.com..... etc with a comma or a semicolon ...
    Denis L. MenezesDenis L. Menezes
    Mar 4, 2003 at 12:57 pm
    Mar 24, 2003 at 1:00 pm
  • What is the difference as in... why one or the other? include('somefile.php'); include("somefile.php"); Just wondering... - ck
    Charles KlineCharles Kline
    Mar 17, 2003 at 6:57 pm
    Mar 17, 2003 at 7:56 pm
  • I'm downloading a file from Windows to Linux through PHP. Understandably, there are ^Ms at the end of my lines. Is there a PHP function I can use to delete them?
    Liam GibbsLiam Gibbs
    Mar 13, 2003 at 6:19 pm
    Mar 14, 2003 at 8:49 am
  • Has anyone had to address this problem before? I've created a table and placed an image inside. The image is around 12 pxl high and when the table is displayed in Mozilla the cell border is up ...
    Larry BrownLarry Brown
    Mar 13, 2003 at 4:58 pm
    Mar 13, 2003 at 11:40 pm
  • I have a login page with a form where users enter there login and password. The form's action is "https://mysite.com/login.php". login.php authenticates the user and if the authentication is ...
    Jean-Christian ImbeaultJean-Christian Imbeault
    Mar 13, 2003 at 1:50 pm
    Mar 13, 2003 at 5:46 pm
  • I want to be able to thread objects. I'm not really sure at all where to start. but I want a script where multiple objects are being processed at the same time. I have an example php script <? $a = ...
    KrisKris
    Mar 12, 2003 at 11:19 am
    Mar 13, 2003 at 9:38 am
  • Hello, I don't understand this code empty my HTTP_POST_VARS variable: if ((get_magic_quotes_gpc() == 1)) { switch ($REQUEST_METHOD) { case "POST": while (list ($key, $val) = each ($HTTP_POST_VARS)) { ...
    Vincent M.Vincent M.
    Mar 12, 2003 at 6:12 pm
    Mar 13, 2003 at 1:29 am
  • I want to display the first 3 words of my record in the my table and following is the code i'm using. When i use the SQL Query in mySQL.. it works great.. but when i try to implement it in my php ...
    Rahul.BrendaRahul.Brenda
    Mar 9, 2003 at 12:37 pm
    Mar 10, 2003 at 5:41 am
  • I have a web page with a simple introductory paragraph on it. I was going to store the paragraph in a mySQL DB and create an administration page so people could easily edit the paragraph itself or ...
    Tyler DurdinTyler Durdin
    Mar 5, 2003 at 6:19 pm
    Mar 5, 2003 at 7:22 pm
  • Hi everyone.I am probably doing something obviously wrong but I can't seem to sort it! It's regarding variables.In one script, lets call it main.php I make a variable- say $colour. It inludes a file ...
    Ian A. GrayIan A. Gray
    Mar 4, 2003 at 6:37 pm
    Mar 5, 2003 at 6:24 pm
Group Navigation
period‹ prev | Mar 2003 | next ›
Group Overview
groupphp-general @
categoriesphp
discussions1,169
posts4,111
users796
websitephp.net

796 users for March 2003

John W. Holmes: 216 posts Ernest E Vogelsinger: 134 posts Marek Kilimajer: 100 posts Leif K-Brooks: 89 posts Electroteque: 78 posts Jason Wong: 76 posts Justin French: 72 posts Liam Gibbs: 60 posts John Taylor-Johnston: 56 posts Kevin Stone: 50 posts Beauford.2002: 48 posts Charles Kline: 44 posts Sebastian: 43 posts Chris Hayes: 38 posts Hugh Danaher: 37 posts Tom Rogers: 37 posts Philip J. Newman: 35 posts -{ Rene Brehmer }-: 33 posts St: 30 posts David T-G: 27 posts
show more
Archives