Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. fergmj

    pixel tracking in an iframe

    I have a php front-end supporting a pretty well-trafficked website. I have many (8-10) customers that have asked me to add tracking pixels to my pages as a way for them to count advertising impressions. my site uses javascript and does tracking on its own (as the last item on the page). I have...
  2. fergmj

    How to get file time from FTP without getting the file

    Thanks travs69! The array being returned is exactly what I needed. Thanks!
  3. fergmj

    How to get file time from FTP without getting the file

    I'd like to write a perl script that would run evey hour (I'm thinking of just having the Windows Task Manager crank up the perl script each hour). The perl script needs to go to an ftp site (this part isn't a problem) and check a particular file's date and time and write that out (append) to a...
  4. fergmj

    Can't Use String Offset as An Array

    Hey guys, I am seeing an error in my PHP5 The error is "Cannot use string offset as an array" Here is a piece of the code. The line where the error occurs is $country_codes['us'] = $price_array[$arr['us_masterid']]['sellers']; if ($res_map && db_numrows($res_map)) { $arr =...
  5. fergmj

    I'm about to pull my hair out

    Interesting. Yes I'll give it a try and report back
  6. fergmj

    I'm about to pull my hair out

    so there is an error in my posting and WinblowsME caught it. It was only an error in pasting it into this forum because I was originally passing a placeholder in the SELECT statement and needed the $id in the execute but when I was doing testing, I failed to remove the $id from the execute call...
  7. fergmj

    I'm about to pull my hair out

    So it seems to be a problem with how I created the mysql table so I'll take this to a different forum unless someone has any experience on why this wouldn't work. I am doing my select with a where clause on the id column i built my table with such that the id column is a primary key, int...
  8. fergmj

    I'm about to pull my hair out

    Well this isn't the correct way to do this but I must say it works -- kind of sub select_item { my ($dbh, $id) = @_; my ($sth, @row, $row, $count); my $sql = qq{ SELECT * FROM export}; $sth = $dbh->prepare ( $sql ) or die $dbh->errstr...
  9. fergmj

    I'm about to pull my hair out

    Hey Paul, So I tried adding your extras to my execute line and that still has my execute just locking up and doing nothing. I also tried from a different machine and that didn't work either :( Same bad result from both machines
  10. fergmj

    I'm about to pull my hair out

    The execute works if the where clause isn't in the command. So select * from export will return results but of course the first id not the one I actually want so I use where id=? And pass the $id in the execute Even if I hardcode it to be where id=36 it always fails If I remove the where...
  11. fergmj

    I'm about to pull my hair out

    the execute line is where it fails $sth->execute(); The query returns in mysql in sub second but I get nothing when excited via code. It just hangs and so I don't get a fetchrow_array
  12. fergmj

    I'm about to pull my hair out

    As a follow-up note: This is a very small table I am pulling data from. MySQL is the database I am using. only 40 rows in the table and hardly any data in my test database Again, thank you in advance -- I'd love to be able to sleep when this is resolved ;)
  13. fergmj

    I'm about to pull my hair out

    ok. I am a decent perl programmer (I think) and I have finished my application and everything works except for ONE issue and I am about to rip my hair out over it so I am asking for some help. I've been staring at this for a long time so maybe I'm just too close to the problem and I can't see...
  14. fergmj

    Formatting question

    I have some code <tr> 309 <td align="center" valign="top" class="style6"><span class="style11">A:</span></td> 310 <td width="1%" align="center" valign="top" class="style6">&nbsp;</td> 311 <td class="style6"><?=_p('No, our wireless site is always 100% free to...
  15. fergmj

    Broadcast Message without DHCP

    I have an interesting problem. I have two pieces of hardware (both without a Windows operating system -- running Xylinx FPGAs inside). I also have a software application that would be running on a Windows XP or Vista machine. I need a way to send out a broadcast ethernet packet withouth DHCP...
  16. fergmj

    String Formatting Question

    If I put the space in there, it will be there for the negative numbers also and the numbers will be formatted like: :000000 -0021G -0006 0281 :000000 -0018G -0028 0285 instead of :000000 -0021G-0006 0281 :000000 -0018G-0028 0285
  17. fergmj

    String Formatting Question

    _sDMSPacket = string.Format(":000000 {0:0000}{1}{2:0000} {3:0000}\r\n", (int)Math.Floor(dHeave * 100 + 0.5), 'G', (int)Math.Floor(dRoll * _R2D * 100 + 0.5), (int)Math.Floor(dPitch * _R2D * 100 + 0.5)); Using the above, I get values like :000000 -0021G0006 0281 :000000...
  18. fergmj

    Sending XML to Webservice

    I am using XMLTextWriter to create XML. Can someone tell me how to send this to a webservice being hosted by someone else? Lets say my Webservice was https://leads.webservice.com with an exposed method of importLead THANKS! XmlTextWriter writer = new XmlTextWriter(/*Response.OutputStream*/...
  19. fergmj

    Calling 3.5 Objects from 1.1 objects

    I want to write some objects using the 3.5 framework but my applications is using the 1.1 framework. Our intention is to write a new application which would use the 3.5 objects later so this would remove having to re-write them down the road is we could call the 3.5 objects from 1.1 code. Does...
  20. fergmj

    XML out of SQL Question

    Nevermind I found an answer

Part and Inventory Search

Back
Top