Jump to content

ryland22

New Members
  • Posts

    8
  • Joined

  • Last visited

    Never

Everything posted by ryland22

  1. Thanks for the feedback! We will definitely fix the meta tag issue. As far as having a single rant on a page - we tried that but found that we didn't have content to go beneath it. The page ended up looking empty without more rants below the 'featured' rant. Do you have any suggestions as to how you would structure a single rant page?
  2. We recently revamped our site to make it more obvious how to use it. Previously users were unclear how to "engage" - I don't want to give too much away. Would love for any feedback! The site is: http://www.RantRally.com
  3. I need for requests to: mywebsite.com to actually hit: mywebsite.com/project I don't want it to be transparent to the browser. The user should still see: mywebsite.com, even though they are hitting: mywebsite.com/project I have tried the following in my .htaccess file with no luck: RewriteRule %{HTTP_HOST} ^website\.com$ website.com/project$1 RewriteRule ^website\.com(.*)$ website.com/project$1 RewriteRule ^website\.com$ website\.com/project$1 Any help is much appreciated!
  4. I am making an xml request of usps.com to get a shipping label as a base64 encoded tiff image. They are sending back the data as a base64 encoded string. I take the string and insert it into a mysql database. When I try to display the tiff, I get a ton of random symbols, letters, crap. This is the code I have tried so far: <? $query = "SELECT label FROM table WHERE custid = ".$_GET['custid'].""; $result = mysql_query($query); $data = mysql_fetch_row($result); $USPSlabel = $data['label']; <img src="data:image/tiff;base64,<?=$USPSlabel?>"> ?> I also tried: <? $query = "SELECT label FROM table WHERE custid = ".$_GET['custid'].""; $result = mysql_query($query); $data = mysql_fetch_row($result); $USPSlabel = $data['label']; <img src="<?=base64_decode($USPSlabel)?>"> ?> Lastly I tried: <? $query = "SELECT label FROM table WHERE custid = ".$_GET['custid'].""; $result = mysql_query($query); $data = mysql_fetch_row($result); $USPSlabel = $data['label']; <?=base64_decode($USPSlabel)?> ?> Any ideas or suggestions?
  5. ryland22

    exec

    What I'm trying to do is to print 3 webpages from an onclick event. The users are on windows so I have no choice. Essentially, I wanted to call a bat file that would run ie in the background and print out 3 localhost webpages.
  6. ryland22

    exec

    How come when I create a bat file with this command: "c:\Program Files\Internet Explorer\IEXPLORE.EXE" I click the file manually and it opens ie, but if I run through php on localhost using exec, and call the same .bat file, it does nothing. Is there a way around this? Are there some permissions I need to modify???
  7. Yes, after some searching I found that only Mysql version 4+ will allow subqueries and my webhost is running Mysql 3+.
  8. If I write \"SELECT cust_id FROM table1 WHERE table1.cust_id IN (1203)\" I have no problems. If I write \"SELECT cust_id FROM table1 WHERE table1.cust_id IN (SELECT cust_id FROM table2)\" I receive a Sql syntax error. What am I doing wrong?
×
×
  • 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.