Jump to content

q1234ask

Members
  • Posts

    15
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

q1234ask's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I still don't know hwo to delete the pointing or move the pointing to C:/php in IIS server. I moved php.conf to c:/windows instead. another important thing is: you need to use C:/WINDOWS OR C:/php/ext instead of C:\WINDOWS OR C:\php\ext. Everything is fine now. solved.
  2. Hi, I installed php. first time I try to use msi and failed. So I change to use manaual installation and It works. The phpinfo showed. Now I try to install phpMyAdmin. It shows "Cannot load mysql extension. Please check your PHP configuration.". I know I didnot config my php extension, I change it as readme recommanded. But It still does not work, I go to phpinfo find out the php.ini is under c:\WINDOWS. Actually, after I manually install php, I put php.ini under C:\PHP as standard. It seems Server still looking for the file in windows. How can I delete it or point to my php.ini in C:\PHP? Or it is another reason? Thanks for any help!
  3. Hi, I have used php for 2 years. I want to php intalled on new computer. first I try to install php 4.4.1. I try to install the package Windows Binaries since it have not msi installer. But I can't install it, it just show a cmd window. So I download php5.2.1 and stalled it choose IISISAPI Modue(right? not IIS CGI). it is there, you can see from add and remove program control panel. But when I try to test it using : localhost/php/phpinfo.php , it said page not find or show nothing. Why? I checked the default web site point c:\inetpub\wwwroot and IIS server is running. Is there any security setting somewhere? Thanks for any help in advance!
  4. Hey, guys I intalled Fadera 5 with phpmyadmin package. Now it seems everthing is fine except that when I click Exit image, it pop up another login page to me instead of log me out. How can I fix this? I use public ip address: like 111.111.111.111/phpmyadmin/index.php the menu bar shows:like 111.111.111.111/localhost|phpMyAdmin 2.8.2.4- Mozilla Firefox (Is this correct?) Thanks in advance!
  5. Hi, Just curious, It (don't know who) generate a file into my php file. it is Answer.txt Inside:  "Default",0957681 What is that. How can it generate? What cause the file written? Thanks for advice.
  6. Hey, guys, ask you a question: Is there a way to redirect frames in php instead of javascript? such as: header ("Location: login.php");             header(" top.frames[0].Location:front.htm"); or echo "top.frames[0].location.href='front.htm'"; echo "top.frames[1].location.href='login.php'"; Thanks for any help!
  7. So as my understanding your statement, it is OK for left frame. right?
  8. Hey, ask your guy a session question: I have a website, after user login, it show left and right frame. left frame is menu and right frame is the content of the link. now the server has session expire in 24 minutes. if the user has not action in 24 minutes, the session expired, after it when the user click the link in the left frame, the right frame page redirect to login page again since no session. The user login again and is showed welcome page. but the left frame still remain same. now the user click the link on left frame again and the link content is showed. My queston is: the left frame is now using new session? every page has session_start. or shoud do it: when session expire, not only the right page shows login page but also left frame shows front left page? I even know how to do it yet. just askif it is ok for user use pages like it  first since the remote server constantly unable to connect to mysql server by port number.  I am wondering if I cause it.
  9. Hey, I have a dynamic groups of yes no radio button. on the top is one check all yes no radio button. I need to have all the yes radio buttons below checked once you click on yes button on the top. Each row has a yes no radio button which only allow either yes or no checked. How can I do it? since the yes button is same as no button except the value is yes or no and they have to use same name to group each row. I try to use id to identify them, but the javascript seems does not work. Thanks for any help. like this code: [code]<TABLE WIDTH="100%" BORDER="1" CELLSPACING="0"> <TR><TD>Yes<BR><INPUT TYPE="radio" NAME="rball" VALUE="yesall"><BR></TD> <TD WIDTH="6%">No<BR><INPUT TYPE="radio" NAME="rball" VALUE="noall"><BR></TD></TR> <TR><TD><INPUT TYPE="radio" ID="rbrow1Y" NAME="rb1" VALUE="YES" ></TD> <TD><INPUT TYPE="radio" ID="rbrow1N" NAME="rb1" VALUE="NO"></TD></TR> <TR><TD><INPUT TYPE="radio" ID="rbrow2Y" NAME="rb2" VALUE="YES" ></TD> <TD><INPUT TYPE="radio" ID="rbrow2N" NAME="rb2" VALUE="NO"></TD></TR> </TABLE>[/code]
  10. [!--quoteo(post=368524:date=Apr 25 2006, 01:06 PM:name=q1234ask)--][div class=\'quotetop\']QUOTE(q1234ask @ Apr 25 2006, 01:06 PM) [snapback]368524[/snapback][/div][div class=\'quotemain\'][!--quotec--] I guess it is not my code problem now. I setup an ftp username and password for a subfolder-uploadfiles under my public_html before and use it in php. I deleted all the code and only leave ftp connection for testing. It still show 403 error. So I think the access list on server may also change the permission for uploadfiles. So I change the ftp connection to connect directly to my root using my site ftp username and password in php. It still shows the same error. I think my site job is done. It definitely is server's problem. Am I right? I can't do anything to make it work. Am I right? I even can't use ftp connection in php. -----------edit----------- now I think it is file uploded in server now. I will check it. [/quote] Ok, It is not ftp problem now. It is for somereason, the server do not accept upload file using html. I guess it file uploaded to server problem. but I can not check is_uploaded_file since it always show 403 error msg. I try to add chmod or ftp_chmod after ftp_put. it still doesnot work. I even use chmod to change mod of the temporary file uploaded which shows mod changed in my local server. but the hosting server still show same error msg and IE don't show any my prompt. What can I do next???? Please advise. Thanks!!! where should I change Phpinfo setting to make it work?
  11. [!--quoteo(post=368481:date=Apr 25 2006, 11:10 AM:name=q1234ask)--][div class=\'quotetop\']QUOTE(q1234ask @ Apr 25 2006, 11:10 AM) [snapback]368481[/snapback][/div][div class=\'quotemain\'][!--quotec--] No, I didn't do any chmod() in my upload script. should I do it? I have two directories I need to pass in order to put the pdf file in that place. Should do it to both of them? Please reply to me ASAP. Thanks! [/quote] I guess it is not my code problem now. I setup an ftp username and password for a subfolder-uploadfiles under my public_html before and use it in php. I deleted all the code and only leave ftp connection for testing. It still show 403 error. So I think the access list on server may also change the permission for uploadfiles. So I change the ftp connection to connect directly to my root using my site ftp username and password in php. It still shows the same error. I think my site job is done. It definitely is server's problem. Am I right? I can't do anything to make it work. Am I right? I even can't use ftp connection in php. -----------edit----------- now I think it is file uploded in server now. I will check it.
  12. [!--quoteo(post=368192:date=Apr 24 2006, 07:15 PM:name=PWD)--][div class=\'quotetop\']QUOTE(PWD @ Apr 24 2006, 07:15 PM) [snapback]368192[/snapback][/div][div class=\'quotemain\'][!--quotec--] Have you tried doing a chmod() to your upload script? Something tells me directory Acess Control Lists may have changed on your host's server... [/quote] No, I didn't do any chmod() in my upload script. should I do it? I have two directories I need to pass in order to put the pdf file in that place. Should do it to both of them? Please reply to me ASAP. Thanks!
  13. Hey, I have a upload php page which have worked for half a year. we host on remote server. today. it does not work anymore. show me HTTP Error 403 - Forbidden . I can access the uploadfiles folder using ftp commander(software) and also can upload a pdf to its subfolder. but why can't I(user) upload pdf file by php? I called remote server, they don't know what to do, and I don't know how to do either. any one have solution for this problem. please advise. HAAAAAAAAAA I can't post the page. the phpfreaks.com have the same problem. Is it pandymic virus? Thanks! code here--------- I can't post my code here ---length is oK .why? i omitted all possible cause. but I still can't post my code. OK I will post my code later___giveup now
  14. Hey, I need to change the form action to different page according to the selinsutype dropdown selection. I have the javascript code but it does not work. it goes no where. What is wrong? Please advise. Thanks!!! javascript code here: function submitCurrentForm() { form=document.form1; var alertmsg=''; var mstr="Please correct the following fields to continue:"; if (form.elements['txtfdate'].value=='') { alertmsg+="\nFrom Date"; } if (form.elements['txttodate'].value=='') { alertmsg+="\nTo Date"; } var selected_index=form.selinsutype.selectedIndex; var insutype=form.selinsutype[selected_index].text; if(insutype=="MEDICARE") form.Action="revenueoutput.php"; if(insutype=="MEDICAID") form.Action="medicaidrevenue.php"; if(insutype="PRIVATE") form.Action="privatepaidrpt.php"; if(alertmsg.length>4) { mstr+=alertmsg; alert (mstr); }else {form1.submit();} }
×
×
  • 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.