Jump to content

jaymc

Members
  • Posts

    1,521
  • Joined

  • Last visited

    Never

Everything posted by jaymc

  1. This may be something for U.K based people on here can answer I am looking for a website that has some kind of text feed, maybe RSS to give me the weather forcast I must be able to filter by location using a UK postcode Does anyone know where I can find a service like this?
  2. I want to run some javascript on my index page to monitor every submit button so that when its pressed it disables so a user can keep clicking it I know I can do this using an ONCLICK, but I dont want to add this to every submit button I want to put it in my master .js file to apply to any submit button on the page
  3. Its a lot of code to prevent 1 duplicate option in a select your code x 28
  4. Yes, I know of that method but as per my example I want it outside of PHP I have 28 select boxes so dont want to be putting them all in loops Hence why I would like a way in javascript (reliable) or HTML to do it
  5. I am populating the first option of a select box using mysql/PHP so that the select automatically has what ever they have stored in my database <select> <option>$gender</option> <option>Female</option> <option>Male</option> </select> Works fine, however, when parsed it actually looks like this <select> <option>Male</option> <option>Female</option> <option>Male</option> </select> I know I can use <option SELECTED>Male</option> but that method requires me to generate the entire select OPTIONS via PHP, looping through each to see if it matches what is in the database. Some selects have 90 options, so I dont want to do this Is there a way I can do something like <select selectedIndexName='Male'> <option>Female</option> <option>Male</option> </select> I know thats not the syntax, but thats how I would like it to work if possible
  6. Do you know its called what they are using the microsoft thing?
  7. jaymc

    [SOLVED] Swap

    I see, so the memory has been allocated and is stored on that disk, but its not being actively read/written to I guess when it is, thats when to worry Thanks!
  8. Im pretty sure myspace has something that gets it if you are logged in to msn, but requires you to "Submit" to send them the details I read somewhere a while back about microsoft making an API Perhaps I'm wrong, it does seem stupid
  9. Does anyone know of an API which can retreieve someones msn,gmail, yahoo contact list I have one which works via PHP but its a bit slow and requires them to enter there email and password Im pretty sure Msoft etc have released a special API which interacts with the client if its open and connected I think facebook and myspace use it for reffering friends Is there such an API? If so, where can I get it?
  10. I signed up on this website http://www.axill.com/ Im assuming that is their source
  11. I signed up with global7/yieldmanager for PPC advertising After receiving my login details.. well, their whole website looks dodgy I googled yieldmanager and I see people talking about spyware infections etc Something lookings fishy, my guess, if I am right, is that they are getting people to sign up, embed an IFRAME which is how they supply your ad code, which actually serves their own adds from an external account on a real ad network Does anyone know who these guys are? Are my instincts correct Here is the login they gave me http://my.yieldmanager.com/ I mean on that login page they have this! Having adware or spyware problems? Click here Here is the ad code they want me to put on my website <!-- BEGIN STANDARD TAG - 160 x 600 - ROS: Run-of-site - DO NOT MODIFY --> <IFRAME FRAMEBORDER=0 MARGINWIDTH=0 MARGINHEIGHT=0 SCROLLING=NO WIDTH=160 HEIGHT=600 SRC="http://ad.globe7.com/st?ad_type=iframe&ad_size=160x600&section=380025"></IFRAME> <!-- END TAG --> Smelling the fish or seeing paranoia!
  12. jaymc

    [SOLVED] Swap

    But surely using disk is not good Is it saying my system beeds 3GB + 1.4GB In other words, I need more memory!! Or, its using it because its their
  13. This may help "The maximum size of data in the row is 8000 bytes, half a page. 768 times the number of blobs you have is greater than this. " "If an InnoDB table has more than 15 text/blob fields, attempting to insert returns an error 139. This was acknowledged by Heikki Tuuri here: http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&selm=bg62j0%2425hq%241%40FreeB SD.csie.NCTU.edu.tw but it's not clear if this is going to be fixed. This worked as of 4.0.13, so it breaks backwards compatibility."
  14. Make sure you are outputting all PHP errors It may be a memory issue
  15. jaymc

    [SOLVED] Swap

    My server is swapping 1.4GB I have a total of 3GB on the server I know most of it is because of mysql, if I restart apache it drops 200MB so the rest must be mysql The funny thing, it is not impacting performance at all. The server is pretty busy, yet my load averages are always around 0.9 and CPU 30% In the past 500MB swap has killed my server off, so why is 1.4 sitting nicely on my disk yet not impacting the server Infact, its probably running better than it ever has!
  16. Im ready to start using xml sitemaps for use with google etc, here are my questions 1: Lets say i have 80,000 member profiles, I want to add every single one of these in a sitemap, is this wise? reasons for and against 2: Is there a limit in how many entries you can have? If I have 500,000 pages is it wise to sitemap them all up? Will this go against me? My aim is to force feed search engines all my pages rather than wait for them to stumble upon Ideas and info would be appreciated Thanks
  17. Didnt carry the IDE tags but it allows me to input them so i use a work around It will do! Thanks
  18. For some reason on IE6 the php session cookie is not being set Works fine in ie7, firefox, opera, safari, but not IE6 Ive checked al the settings and made sure to allow cookies etc, have had others test it Can anyone think of things to try or why this may happen, seems strange Thanks
  19. Is their a way to do this .mytext { color:#ff0000; } .someclass { text-align:center; background-color:#000000; color: .mytext } I know thats not the correct syntax, but in my head thats how i'd like it to work. This means that rather than constantly defined the text colour in each class i make, I can just do it once and import it into each class This is just a dummy example, so dont say put it in the body {} etc, it needs to work like above Can this be done? If so, how Thanks
  20. RewriteRule ^music/search/([a-zA-z]+)/([a-zA-z]+)/(.+)/(.+)?$ ?open=music&page=$1&$2=$3&search=$4 [L] Not sure if there is a way around it as it needs the slash as a delimter and to follow web standard?
  21. Old topic but Ive just come around to using sox and found it cant alter the bit rate of an mp3, e.g 256 kbps to 128 kbps I cant use lame because it loses the IDE tag info My goal is to find a command line mp3 convertor that will 1: Convert an mp3 to mp3 @ 128kbps 2: Keep IDE tags in tact Any more ideas? Using centos 4.4
×
×
  • 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.