Jump to content

itzpapalotl

New Members
  • Posts

    4
  • Joined

  • Last visited

    Never

About itzpapalotl

  • Birthday 08/25/1974

Profile Information

  • Gender
    Male
  • Location
    Los Angeles

itzpapalotl's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Noob query I'm sure, but: I have two programs that each have a login management system. One of the programs is exclusively a login manager, the other is a scheduling program. What I want is to log in ONCE. So.. Rather than trying to unscramble the the most heinous login scripts on either side of this equation. I figure my best bet is to modify and populate the scheduling script's login FORM page, and auto-submit it with a splash of java. All I need to do is somehow drop the user-name from the main login script some place where it can be read by the scheduling script. Here's the catch.. Each system already uses sessions, and I can not seem to drop a variable from one in to the other. I feel I am missing something simple. Can somebody point me the way to the idiots guide to session-handling? I tried to wade through the official PHP manual, and I feel like I am doing sessions right. I can drop a variable in to the array and read it off from another page, just not the page I need to read it off of. Can we start / populate / retrieve more than one session on a page? In other words can I start a third session on my homepage once logged in, which simply drops the username some place where it can be retrieved by both programs?
  2. Check for white space either before the <?php or after the ?> Usually. "cannot modify header information, already sent by whatever:0" means you have a space or a new line either before the opening tag or after the closing tag. Make sure the first thing that PHP sees when in runs an include is the opening tag, even if you have to throw a <?php echo "";?> on the top just to be sure. NO spaces or lines before or after your PHP tags on any page used as, or which uses an include, is what I im finding...
  3. Hi!. I have what I think should be a fairly simple function I need to perform on a table in a mysql database, and I guess I have no idea what I'm doing. I have a table called "price_translator" In that table are three colums: 1) serial_number [iNT(20)] (is also the Key index) 2) vendor_price [VARCHAR(50)] (contains uploaded vendor information) 3) converted_price [DECIMAL(10,2)] (is empty and nees to be filled as follows:) Now.. vendor_price contains data like $1,234.56 with the dollar and the comma. I need to: ( a) pull the varchar data from vendor_price. (b) strip the dollar sign and the comma, © put it back in the table under my_price as a decimal value. How would I go about this? Disclaimer: If this has been answered, and you use a link to the answer, can you also include the search terms you used to find the link? That would be helpful for future searches... Thanks all!
  4. Hello all! I'm a brand spanking new PHP programmer. Where programmer is not the right word just yet. I know my html and my CSS pretty darn well, but I have decided to take the next step and make my websites actually DO something! I have a ton of questions, and will probably start asking them pretty soon here, but for now, Ima go get a cuppa, and start reading snippets. If I end up asking questions that have been answered a million times... Just nudge me to the right place, pretty soon I'll know enough to know what I am looking for.. For now.. I am stumbling around kinda blind.. So pardon in advance for any toes that might get mooshed. Looking forward to a fun and interesting ride. (Step 3: Profit!)
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.