Jump to content
xisto Community

LuciferStar

Members
  • Content Count

    112
  • Joined

  • Last visited

Everything posted by LuciferStar

  1. Tonight, I uploaded some zend encrypted PHP codes,but all the pages contain such error:Fatal error: Unable to read 3065 bytes in /home/lucifers/public_html/matrimony/index.php on line 0but,All my encrypted codes work well on my own websever,which is a WIN32 platform.Does that mean the edition of my zend encoder is different to the edition the Xisto supported?Thanks!The zend Encoder information:Zend Encoder Unlimited (TEST DRIVE) v1.2.0 © Zend Technologies, 1999-2001 Licensed to: Team oDDiTy. Compiling ./../matrimony/todos/zend/details.inc.php... Done encoding ./../matrimony/todos/zend/details.inc.php. Optimizing... Done. Saving... Done.
  2. I've made one. I want to know how to do others, too! in VC++6.0,just addon an IE plugin,then add some codes like this: void CIEDlg::OnButton2() { // TODO: Add your control notification handler code here m_IE.GoBack();}void CIEDlg::OnButton3() { // TODO: Add your control notification handler code here m_IE.GoForward ();}void CIEDlg::OnButton4() { // TODO: Add your control notification handler code here m_IE.GoSearch ();}void CIEDlg::OnButton6() { // TODO: Add your control notification handler code here m_IE.Stop ();}void CIEDlg::OnButton7() { // TODO: Add your control notification handler code here m_IE.GoHome ();}void CIEDlg::OnButton8() { // TODO: Add your control notification handler code here COpenUrl OURL; OURL.m_URL="http://"; if(OURL.DoModal() == IDOK) { SetDlgItemText(IDC_STATIC1,OURL.m_URL); m_IE.Navigate(OURL.m_URL,0,NULL,NULL,NULL); } }void CIEDlg::OnButton5() { // TODO: Add your control notification handler code here m_IE.Refresh();}
  3. You may try something like function pointer.I have an article about this: http://forums.xisto.com/topic/833-how-to-make-9-8-7-6-24/ modify it to fit your use.
  4. some lower compilers don't support namespaceif you get an error with getchar, add this at top of the code: #include <stdio.h>;
  5. I found these codes,but doesn't work well. Does anyone know howto? Thanks! <?php// Define constants needed, taken from// Visual Studio/Tools/Winapi/WIN32API.txtdefine("MB_OK", 0);// Load the extension indl("php_w32api.dll");// Register the GetTickCount function from kernel32.dllw32api_register_function("kernel32.dll", "GetTickCount", "long"); // Register the MessageBoxA function from User32.dllw32api_register_function("User32.dll", "MessageBoxA", "long");// Get uptime information$ticks = GetTickCount();// Convert it to a nicely displayable text$secs = floor($ticks / 1000);$mins = floor($secs / 60);$hours = floor($mins / 60);$str = sprintf("You have been using your computer for:". "\r\n %d Milliseconds, or \r\n %d Seconds". "or \r\n %d mins or\r\n %d hours %d mins.", $ticks, $secs, $mins, $hours, $mins - ($hours*60));// Display a message box with only an OK button and the uptime textMessageBoxA(NULL, $str, "Uptime Information", MB_OK);?>
  6. I'd prefer 1. open a tempfile, write new data to the tempfile 2. open the datafile for reading 3. read contents into the tempfile 4. close the datafile 5. close the tempfile 6. rename datafile,like this, you can get a backup to last writing 7. rename the tempfile to original datafile name
  7. The most place I would like to search is the PHP MANUAL,and http://forums.xisto.com/no_longer_exists/(it's a Chinese website)
  8. I can't remember clearly that in IE,you may use divand on netscape, use layeris that confused?
  9. you may try to save the last_page_post_data into new page,using<input type=hidden name=hidden_last_page_data value=last_page_post_data>this tag may be invisible.
  10. TRY <?php$UserName = $_POST['UserName'];$EMail = $_POST['EMail'];$Message = $_POST['Message'];$IP = $REMOTE_ADDR;$Query = "INSERT INTO chatboard (UserName, IP, EMail, Message) values(".$UserName.", ".$IP.", ".$EMail.", ".$Message.")";include "db_chat.php"; //Database connection filemysql_query($Query);mysql_close();include "chat.php";?>
  11. I'm sorry to tell you that different browsers support different method in programming.something you can run on Netscape,sometimes not on IE.
  12. try to make your codes work well,or try '@' before every function you have to use,like@count($emptyarray);@fopen("","w");if you do so,then no error message will be displayed.
  13. T_STRING is a stringif the string in your code has an error,then this error message may appear. check your code on line 9,whether you missed a " or a ',or any others.
  14. I'd prefer using both of them.the form data needn't to be send by using javascript
  15. I don't know,either.but,here's the information: session_register (PHP 4 ) session_register -- Register one or more global variables with the current session Description bool session_register ( mixed name [, mixed ...]) session_register() accepts a variable number of arguments, any of which can be either a string holding the name of a variable or an array consisting of variable names or other arrays. For each name, session_register() registers the global variable with that name in the current session.
  16. The best free way,is to check your compiler's .h file.
  17. try List->InsertItem (&item); List->InsertColumn (x,fd->name,LVCFMT_LEFT,strlen(fd->name)*6+16,1); [br][/br] List->DeleteAllItems( ); // 删除当前所有item[br][/br] res = mysql_store_result( myData );[br] for ( int x = 0; fd = mysql_fetch_field( res ); x++ )[/br] {[br] List->InsertColumn (x,fd->name,LVCFMT_LEFT,strlen(fd->name)*6+16,1);//获取column[/br] }[br] LV_ITEM item;[/br] item.mask = LVIF_TEXT;[br] item.iItem = -1;[/br] while ( row = mysql_fetch_row( res ) )[br] {[/br] j = mysql_num_fields( res );[br] item.iItem+=1;[/br] for (int k = 0; k < j; k++ )[br] {[/br] item.iSubItem = k;[br] item.pszText=row[k];[/br] List->InsertItem (&item);[br] List->SetItem (&item);[/br] }[br] }[/br]
  18. Yes.I can find out your ciphered password stored in the encrypted file, and try to make the true password out, decipher your secret. your algrithm is secure based on algrithm-unknown-to-others.
  19. Every 24 hours,the path will be changed.m=month d=day and to adjust timezone,the exactly time would not be the same as yours. Do you think this personal Homepage is too personal? at present time,only one page is ok,i'm doing the rest,and also and more other languages(what i know is only English, bonjour in French,and much more than hola in espanol) Please wait and see! Thanks for your visiting.
  20. if someone know the algrithm,then he can easily use brute force to know your password.
  21. I'd prefer the source code singlestudio@hotmail.com
  22. please check your data,and also your code.
  23. Just put them where you want.
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | 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.