User Profile
Collapse
-
Basically i want to know.. is there any flaw in the code can lead to deletion of a file??? -
chance of php file gets deleted
Hi members,
My question is:
Is there a way through which anyone can delete a php file from server. like some hacker delete registeration.p hp file from server (live server) ???
If so. then how?? and how can I avoid this?
I do have knowledge about sql injection n xss attacks. but no really sure that a FILE can be deleted?
waiting for your responses
Regards -
Thank you for your reply.
Actually the site I am developing does not play audio without warning and stuff. Here is how it works on my website..
-> Registered user searches for music on the site..
-> User can add music track of their choices to the play list of music player.
-> If user click on PLAY then music will start playing in the player.
Note: Music player is on the right panel...Leave a comment:
-
Thank you all for replying.
I am using embed code for player. It also has a feature of adding music to play list. Actually its the requirement of the project to keep playing the music while user can browse through the site.
@Steven: thanks i will try that
and my apologies for posting this question in this section rather than in html forum
Regards
- MuddasirLeave a comment:
-
-
Play Music in background while browsing though website
Hi everyone.
How can I play music in background while user can browse through my website. Uptill now I have created a music player which plays audio tracks but as soon as users jumps to another page the music stops.
How can I achieve this. any ideas !!!!!
Regards
Muddasir Hussain -
Okay let i guess this is what you want....not sure but it might help you...
when user fills a registration form and hit submit button. You probably do insertion in DB, when you do insertion get the last inserted id. and store it in variable let say '$userid'. Make link in the email that you will send to the user and that link will contain that last inserted id e.g the link might look like this.
Code:<a href='http://yoursite.com/authentication.php?userid=$userid'>Click
Leave a comment:
-
You can do this through AJAX.
Another way is
if page refreshing wont matter that much then you can simply pass the value to the query.
Code:<form name="myform" id="myform" action="" method="get"> <select name="mydropdown" id="mydropdown" onchange="sortby_form.submit()" > <option value='one'>One</option>
Leave a comment:
-
List shopping API's
Hi everyone.
I am working on shopping API's
If any body can list me useful some shopping API's with documentation.
I want to use them on my website using PHP
I have already worked on
shopzilla
yahoo
amazon
ebay
shopping.com
I want some API other than above mentioned APIs
Regards
Muddasir -
Problem in setting timezone
Hi everyone
I want to set timezone (US/Central). It is working fine on my local computer but when I upload the code on web server It is giving me error
Fatal error: Call to undefined function: timezone_open() in
Here is the code
Code:$tz1 = timezone_open("US/Central"); $ts = date_create("2008-08-19 12:19:21", $tz1); echo $ts->format(DATE_RFC822), "<br/>";$ts->setTimezone($tz1);
Last edited by Dormilich; Sep 23 '10, 06:30 PM. -
Thank you for replying..
But I found the error.
There was a comment written without using ' // '. I put there '//' before comment and now its working fine. but i was wondering why it was working fine in Fire Fox.
Once again Thanks for your time.
RegardsLeave a comment:
-
document.getElementById not working in IE 7.0
Hello guyz
Can you please help me with this. I am having problems with document.getEle mentById. It is working fine in FireFox but in IE its not working.
What should i do.
Thanks -
thanks a lot ppl
okay I will try to put my question more clearly.
Normally if we want to fetch any record against any specific value we use e.g. "WHERE hr=2" and in the result se we will get a row of record having hr=2, and no result when colum hr doesnot have value= 2 right !.
I am asking is it possible that we can get results even when colum hr doesn't have value=2. can we get the results...Leave a comment:
-
need help in a query
Hello everyone.
guyz can you please help me in this query
Note: i put this question in MySQL forum but no one replied. please guyz its urgent.
id | name | lastname | status | hrs
1 qwe sss 1 5
2 rtyy zax 1 5
3 bvgf hyv 1 5
4 bvgd vbcf 1 10
5 cvxx hopy 1 10
6 bcxd loiu 1 10
now what i want to achieve is that......
first four records... -
need help in this query
Hello everyone.
guyz can you please help me in this query
id | name | lastname | status | hrs
1 qwe sss 1 5
2 rtyy zax 1 5
3 bvgf hyv 1 5
4 bvgd vbcf 1 10
5 cvxx hopy 1 10
6 ... -
Hi bips
here it is what I understood you want to do
Code://considering this date is being fetch from db and was stored in this format $date = "2008-07-15 22:15:58"; $date1 = substr($date, 0, 11); $date2 = date("Y-m-d"); // current date $difference = abs(strtotime($date2) - strtotime($date1)); $days = round(((($difference/60)/60)/24),
Leave a comment:
-
hi
try using header("locatio n:abc.php?usern ame=xyz");
RegardsLeave a comment:
-
i am able to do what i want to..
i guess i wasnt clear in putting my query to u ppl.
i used
parent.opener.l ocation.reload( );
which refresh the parent window while new window is being opened using <form> with target=_blank
neways thanks a lot for u guyz for always helping me. i have learned a lot through Bytes
Regards
Muddasir HussainLeave a comment:
-
openining a new window
ello everyone.
i want to open a link in a new window but without pop notification, means user does not have to select "allow pop-up" and also want to redirects to the other page.
here is code of the file go.php
Code:$url; <script language="javascript"> window.open('<?php echo $url; ?>'); window.location='searchresults.php?keyword=<?php echo $keyword;?>&item_id=<?php
-
No activity results to display
Show More
Leave a comment: