Jump to content

yhi

Members
  • Posts

    53
  • Joined

  • Last visited

Everything posted by yhi

  1. yhi

    share buttons

    want to do it for FB ,twitter & google+
  2. i need help in creating share button for my mobile website traditional share button when clicked share out URL or content using web browsers but i want them to share via app.. i mean when user click on fb icon it should promote fb application with content to share. currently it is opening fb website in browser and user have to login to FB website to share
  3. yhi

    mysql error

    m not totally sure what you are saying can you please explain or post the query thanks
  4. yhi

    mysql error

    export option didnt allow me to export in file extension i want & in directory i want
  5. yhi

    mysql error

    no m 100% sure my query was select * into dumpfile '/var/www/filename.txt' from calendar & i executed that phpmyadmin to maybe it added that limit :/ as i told i want to dump that table data to a file in a public accessible directory please help me with correct syntax
  6. yhi

    mysql error

    query : select * into dumpfile '/var/www/filename.txt' from calendar Error : https://i.imgsafe.org/06af15f31f.png i am not sure what the problem is.. i want to dump file in a public accessible directory but i am not able to understand the sql error please help me with solving the error please help PS i am executing commands from phpmyadmin
  7. yhi

    cron jobs

    i added "set_time_limit(0);" still facing "500 Internal Server Error"
  8. yhi

    cron jobs

    if u dont mind i am still curious what will be the fastest way of sending that http request ?
  9. yhi

    cron jobs

    bro u r the best let me try it if i get success i will comment here & u can mark this as answered
  10. its half javascript & half php i dont want user to know that i am searching in parameter so i cant use javascript for everything.. to understand the case better suppose i dont want user to insert some certain values in the post for example i dont want user to input ABCD i will first check whats in parameter & compare it with value i dont want dont its they both are same script will die(); if not script will show popup box with captcha & if captcha is correct send form request to that website..
  11. yhi

    cron jobs

    i dont want to program the sequence i want user to give that chance i want a user like my mom or a guest to select what sequence they want.. & i know its a bit confusing because m not able to explain properly.. anyway forgot everything i said i will try to explain again for changing the LED color we have to send a http request.. which look like IP/directory/heX_code now instead of changing color manually i want to make it semi automatic.... i want any user to select a color sequence that want like red blue yellow green white & that sequence will get stored somewhere & i thought about setting up a cron job for picking the top color (in our case its red) sent a http request for red & remove red from list & after some interval (which i set for cron job) it pick next color (blue) send http request for it & then remove it.. PS i will not actually send red or blue i will store their hex code & send them
  12. "the script could perform a header() redirect to "website.com/abc.php"." i dont want to redirect i also want to send form data after verifying captcha..
  13. yhi

    cron jobs

    actually that thread was about fastest way to send request anyway its ok & i will be more careful next time can you help me with my problem ?
  14. i have a php script which will post parameter to a website code look something like <form action="website.com/abc.php" method="POST"> <input name="aname" type="text"> <input name="submit" type="submit" value="submit"> </form> now script is sending post request directly.. what i want to do is before submitting post request to that website i want to check parameters for their value & then popup a captcha i want to create a page which is something like tinypic.com after you upload the image you will get a popup (captcha ) & if you solve it correctly your image willl get uploaded & after that i want script to submit request to that website PS captcha is not really important but if u can help me in adding it it will be great
  15. yhi

    cron jobs

    its a project i have some RGB leds.. to change their color i have to send a request like this IP/RGB/hex_code IP is local IP RGB is just a folder & hex_code is hex color code of color i want my arduino program will show that color light for 5 second and then turn of if no further command is given..
  16. yhi

    cron jobs

    @Jacques1 to be honest i dont know much about database & mysql.. so i think i will leave a lot of bugs & leave my script vulnerable for attacks.. & i know about queue concept i learn about it in c++
  17. yhi

    cron jobs

    i want to execute some statement.. sometimes same statement multiple time.. statement fetch data from another website... so i coded a script for it.. but now the problem is my script is trying to fetch data continuously (one statement then another) & i dont want that.. because it may can flood that website.. & also i dint get reply for my request.. so i was thinking to use cron job i will code a script which will store all statement in a text file & another script will execute those command one by one & remove them from text file after execution.. i know i can use sleep(); but then my script is taking too much time.. & also sometimes it gives 500 internal error hope you understand what m trying to say
  18. yhi

    cron jobs

    i want to make a script which will read a php statement execute that statement & then remove from the file for example suppose file task.txt contain all php statement to be executed task.txt: statement1 statement1 statement1 statement1 statement1 statement2 statement2 statement2............... now the task of script is to execute first file of "task.txt" & after execution remove it from "task.txt" after one time execution task.txt: statement1 statement1 statement1 statement1 statement2 statement2 statement2............... after second time task.txt: statement1 statement1 statement1 statement2 statement2 statement2............... after third time task.txt: statement1 statement1 statement2 statement2 statement2............... i hope you get it and please note that i want script to run only when cron job call it it means it execute & remove statement after every cron job call
  19. thanks that really helped script is working fine
  20. i want to fetch some data from a file so i am thinking about using file_get_contents i tried it but failed later i found that the website i want to fetch data with.. only show data if we have that website url in our http refer header.... so i want to add a code in my script for sending a fake http refer header with my request if possible please tell me a way without curl & try to make code as simple as possible thanks
  21. yes i want to perform some check , also i want to run some scripts adter a certain time (on daily basis) if i do that manually it will take too much time & its also possible to program a script to run a .sh script in my linux server automatically ? thxx quickold car
  22. ok thxx & is theie is any way to program my website to do some task in my absence ? i mean do something 24*7
  23. when ever i login to my cpanel i saw this CPU usage0 , memory usage , process 0 i want to know how to add process ?? how to use it ? can i program it to do a talk in my absence ?
  24. yhi

    how to ?

    i dont know jquery or javascript or ajax.... & ok i will search about delay or sleep & can you help me in showing loading image while the script is working ?? i want to clear everything from page just want to show a loading or please wait message until script complete its work
  25. yhi

    how to ?

    sorry but i cant use feed i have to use the API is there is any way to pause the task ? i mean suppose user send 100 request so can we code a script which will send first 30 request then after 5 second send another 30 then after 5 second another 30 & soo on .......... & script will work in background & while it is working user will get a loading image or a message "please wait" or something like that a person i know already did it but he lost his script & he dont have time to code again same thing so i know it is possible i tried to contact him but he is not comming online so he didnt saw my message
×
×
  • 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.