Jump to content

gr8gatzb

New Members
  • Posts

    5
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

gr8gatzb's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Its a different domain. Ex: domainA.com domainB.com I have them on the same server, so the IP is the same. I even tried setting up apache to put domainB's contents as a folder within domainA. So, for example, domainA's contents is in: /public/domainA Then I put domainB's contents in: /public/domainA/domainB However when I set the cookiepath to '/' on domainB.com, it doesnt seem to register on domainA.com Any other ideas? Thanks!
  2. I own 2 domains. I want to use cookies to simply track whether a user at one site visits the other site. I'm not worried about security or anything like that. Is there any way to access a cookie from domain B from domain A?
  3. I am trying to create something like this: http://dayprime.com/?q=apple The box at the top is taking data (the first paragraph) and a picture from wikipedia based on a keyword. However, when I use the opensearch action in the wikipedia API (http://en.wikipedia.org/w/api.php), it returns just one line and a much smaller picture. Any ideas or code or links to show me how I can take an image and the first paragraph of a wikipedia article? Thanks!
  4. I would like to use both of these together, but I can't control the order. For example, I have a list of IPs and dates. I want to group by and collapse the IPs, but then have the most recent dates returned. SELECT * FROM test GROUP BY ip ORDER BY date DESC It collapses on the IP but doesn't return the most recent date. How do I fix this?
  5. i am really new to all this, so try and be gentle. i have two questions: 1) I am having users at my site submit a php form in parts, but after each part, the information is getting stored in the mysql database. on the last page, i want to have a confirmation page that lists only the fields that do not have empty values in a table. so, on the html table side, i set up a foreach loop of an array that prints out the table cells... however, i'm not quite clear on how to do the query for mysql. not only am i not sure how to do the query, but i am also unclear on how i can get the label along with it (so, what i mean is, have it know to print "first name" in the left cell and "[the first name value]" in the right cell. although, i would assume the [first name value] is simply the value of that array cell). 2) the php on the web server I am using is php 4.1 i believe. for storing and calling passwords, i have $_POST['password'] in the query string, which I have read is not great because of sql-injects. using quote_smart() was suggested, but my php version doesnt support that. how else can i securely store/access the password data? thanks! marc
×
×
  • 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.