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 Chriss Miller 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: *

  • Users: southbeach
  • Content: Threads
  • Order by date
  1. southbeach

    jquery ajax / bs progress bar

    Given the code $.ajax({ url: "_apiListCarriers.php", type: "POST", data: "a=getList", success: function(response) { $('#processProgressBar').css('display','block'); var objs = JSON.parse(response); var n=getObjectCount(objs); var count = 0; while...
  2. southbeach

    restful api / endpoints / .httaccess

    After so many years of writing mostly procedural PHP code, I am at a point where I must step out of my comfort zone and write a RESFUL API. Not a big deal, really, except that for the life of me, the endpoints are kicking my rear-end. My problem: if I define my URI to be api.sitename.com...
  3. southbeach

    Caught in an infinite loop / Why?

    Can you please tell me why this causes my page to get caught in an infinite loop? $( "#menu-team" ).click(function() { $( "#main-container" ).animate({ opacity: 0.25, left: "+=50", height: "toggle" }, 3000, function() { //...
  4. southbeach

    PDO whoopping me up! Please tell me what is wrong w/ snippet!

    So, after much reading and suggestions, I am trying to make a move from "procedural" style coding to OOP and instead of using mysqli I am giving PDO a shot. Thing is, after hours of looking at my code, reading and comparing .... I cannot see what is wrong with it nor why I get no error and yet...
  5. southbeach

    Using multiple jquery .dialog() with custom themes each

    OK, I have this // Dialog Link $('#dialog_link2').click(function(){ // Dialog $('#dialog').dialog({ autoOpen: false, width: 678, height: 450, classes...
  6. southbeach

    Responsive Design - Get 3 col down to 2 col and down to 1 col

    I have been playing with this - and for the life of me I cannot get the <div> to ling up two across. Here is the complete code. Can you spot why am I having this problem? <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible"...
  7. southbeach

    Running Windows based Applications - WINE

    Hello! I know little to nothing about this - I have never done this but I know of it by having read a couple of articles way way way back in the days. The problem: I have a legacy application which runs in Windows. It is currently installed in a win-2k3 32bit server. I need to move out of...
  8. southbeach

    What kind of object is this and how can I parse it?

    I get a response from soap call and dump to variable like so $resp = $link->getResponse($dataString); The content of $resp looks like this object(getLTLRateEstimateResponse)#20 (1) { ["return":protected]=> object(myLTLRateResponse)#21 (11) { ["rateEstimate":protected]=>...
  9. southbeach

    JSON / Array Parsing

    I cannot tell you how many times I've done this ... today, like a couple of other things, I cannot get it to work. I have the following object [ { "name":"AAA", "message":"msg 1", "days":"5", "cost":"304.40", "qnumber":"", "jnumber":"", "saveit":"" }, { "name":"BBB", "message":"msg 2"...
  10. southbeach

    XML Simplet Object - What is up with this?

    I have this object(SimpleXMLElement)#2 (9) { ["ratequoteline"]=> array(5) { [0]=> ... } ["servicetype"]=> string(14) "NORMAL SERVICE" ["totalweight"]=> string(4) "2500" ["totalpallets"]=> string(2) "10" ["totalpieces"]=> string(2) "10" ["quotetotal"]=>...
  11. southbeach

    Store XML Object in MySQL

    Working on an API integration where responses are received in XML. There could be any number of sources and each have their own format. Now, since I am dealing with 45 to 50 different sources, I figure that the best option would be to extract from each whatever I may need for...
  12. southbeach

    Many tables or many databases ???

    OK, working on a project where, I hope, the user base can reach a reasonably high volume. Each prospective user would have their own data and must be apart from one another (companies can do their billing, project management, etc.). I have done similar work where every time a company is...
  13. southbeach

    Knowing if a &quot;friendly robot&quot; or &quot;malicious&quot; attack

    So, I normally just write code but I am concern about what I see in my error.log [client 146.0.77.100:49621] script '/var/www/html/index2.php' ... If I google the IP I get Netherland and some references about it having been reported once or twice for abuse ... What would be the suggested...
  14. southbeach

    Legacy WIN-2K application to access web service

    So, I am faced with what normally be a simple task in Unix or Linux, to access from CLI a web service ... Say for instance, http://www.myservice.com/foo.php being a script REST or otherwise, it can be easily called using wget or curl from unix/linux box. This is not as simple, at least not that...
  15. southbeach

    How can I tell if curl is calling my script?

    OK - How can I tell if a savvy user is calling my script via curl? For example: user #: curl http://www.mydomain.com/index.php Is there any way PHP can tell the script is been invoked by other than a browser? -- SouthBeach http://www.fp2php.com The good thing about not knowing is the...
  16. southbeach

    Haunted by vanishing session

    The problem: ------ Working on script where a link is provided via email. The script looks at URL for content/values and if URL is that of a email the routine is triggered to automatically log in user. The log in routine is the same routine one would use if you were to fill in the log in form...
  17. southbeach

    Rapid landing page development / templating

    So, my brother has brought to my attention a business he is involved in and most of the vendors he works with have (a) no site, (b) horrible sites, (c) fair sites. These opportunities for me but I do not want to spend days putting together nice landing pages or sites to position myself as a...
  18. southbeach

    simple xml - object or not an object - when is this the case?

    Working on a script to fetch info from a service provider - All is well as far as getting to the provider, sending what needs to be sent ... My confusion rises when I try to pare the returned XML object: object(SimpleXMLElement)#2 (22) { ["@attributes"]=> array(1) { ["Version"]=>...
  19. southbeach

    file permission settings when using file_put_content

    I have a process that uses file_put_content() to write to disk - I am ending up with files like --w----r-T 1 www-data www-data 1941640 Aug 14 12:16 job1149_BOL_b6ab74966c.pdf --w----r-T 1 www-data www-data 1941640 Aug 14 12:14 job1150_BOL_87e880f9c3.pdf --w----r-T 1 www-data www-data 1941642...
  20. southbeach

    select field content on trigger not working with chrome

    I have this <input id="width0" class="rfqmusthave" type="text" style="width: 85%;" maxlength="7" value="0.00" name="width[]" onblur="$(this).toNumber(); calcClass('0');" onkeyup="$(this).toNumber();" onclick="$(this).select();" onfocus="$(this).select();" onmouseup="return false"> if you...

Part and Inventory Search

Back
Top