Jump to content

SiteSniffer

Members
  • Content Count

    21
  • Joined

  • Last visited

Community Reputation

2 Neutral

About SiteSniffer

  • Rank
    Newbie
  • Birthday 01/01/1971

Previous Fields

  • Languages
    PHP and still learning

Contact Methods

  • Website URL
    http://
  • ICQ
    0

Profile Information

  • Location
    Netherlands
  • Interests
    Breathing
  1. Nvm, already found it. Added <script>stopAudio();</script> as an onclick for a button. Solved, topic can be closed now .
  2. I'm a newbie when it comes to JS but I'm trying to understand it and alter a few snippets to learn more. Here's my issue. I have the JS script running at my page, it autoloads an mp3 and plays it while the page starts. Nothing wrong, everything works. I also have a few buttons on the page that start a new mp3, that also works great. The issue is that it still plays the older mp3 files when selected a new one. Can somebody help me out here? I'm trying to stop all playing audio (no matter howmany buttons are pressed for playing audio) automaticly when a new button (play a new mp3) is pressed, so
  3. I'm trying to get a marker on the location with a small text-balloon, displaying the location name (manually set). Sofar I came up empty handed when it comes to searching on Google trying to find a solution. Here's my working code sofar: <script type="text/javascript"src="http://maps.googleapis.com/maps/api/js?&sensor=false"></script> <script type="text/javascript"> function initialize() { var myOptions = { center: new google.maps.LatLng(my.coords, go.here), zoom: 16,mapTypeId: go
  4. I'm trying to understand the proper prodecure for creating an environement for creating apps (HTML5) for mobile phones (IOS and Andriod). I've looked at several sites and they're all a bit misguiding to me so I was wondering if somebody can help me out on this one. This is what I have sofar: - My system: PC/Windows7- I got: Apple dev account- I got: Dreamweaver 5.5 Sofar I can't figure out wich SDK I need to install for iOS support in Dreamweaver (PC), the only thing I see is for MAC.I'm hoping that you guys can help me out with good suggestions/solutions.
  5. SiteSniffer

    Field Size

    I'm having trouble sizing the field in pixels. Currrently it's 40 characters but I really want it to be like a total length of 400 pixels (including the button).This is what I currently have: echo '<input name="file" type="file" id="file" size="40" style="border: 1px solid #06F;" />'; Any suggestions?
  6. I realised that and went straight back to the script and tested it, works fine. Then I wanted to edit my post with the solution but you beat me to it :)Thank you for your reply and solution anyway, I appriciate it.
  7. I did the pathinfo() on the cached file and gave a tmp as an extention. Can I get the real name of the cached file and store in in a $?
  8. SiteSniffer

    [UPLOAD] dll

    Is there a way to check if an attempt to upload a file with a dll extention by using $_FILES["file"]["type"] == ?I'm trying to let my script to allow only dll files.PS: script is working fine with images $_FILES["file"]["type"] == "image/png", only need to check for dll.
  9. No I did not. I'm using non-default descriptions for the payment, IE: invoice-number (generated from own database) + selected product + price (generated from own database) + tax (read from own database). The Paypal wizzard doesn't give me such/simular option.
  10. I've already got a Paypal form, works like a charm. Here's my problem:- People order their products, everything stored in $_SESSION's.- Payment page: people click the paypal button- Payed by paypal- Paypal returns to my website (button)I want to store all the data (order products, name, shipping address etc) in a database but I want to do it after payment has been made. Is it possible to check if people actually payed with paypal instead of being a smart guy and go directly to the confirmation pages of my website (so skipping the paypal)? If so, how?
  11. I see. I'm not taking any chances on pulling a black hat SEO trick so I'll stick with a mix of Dutch and English keywords in my header.Thank you for your reply.
  12. I ment when my website detects Dutch (nl) browser headers I want the metatags keywords (in header) to be in Dutch. IE <META NAME="keywords" CONTENT="word1, word2, word3">.Does Google check for language and then index a website? If not my routine will be useless I think.
  13. I'm checking browser language by using substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2).Am I allowed to use it for defining metatags keywords or will Google have problems indexing? I'm trying to have differend languages in metatags.
  14. Never mind, found the problem. || ($_FILES["file"]["type"] == "image/png") should be: || ($_FILES["file"]["type"] == "image/x-png") Topic can be closed if needed.
  15. I can't seem to fin the error in this and I was hoping you all could take a quick peek at it. I'm making an upload script that makes you able to upload images to a server. Jpg and Gif work fine, PNG gets me an invalid. Here's the snippet: if (($_FILES["file"]["type"] == "image/gif") || ($_FILES["file"]["type"] == "image/png") || ($_FILES["file"]["type"] == "image/jpeg") || ($_FILES["file"]["type"] == "image/pjpeg") && ($_FILES["file"]["size"] < 20000)) { I am 100% sure that the png files I tried to upload are valid png files (photoshop -> save for webdevices etc etc) so that'
×
×
  • Create New...