Jump to content

SUBIECTE NOI
« 1 / 5 »
RSS
Achizitie SUV, buget 17k euro

Gps traker pentru animale

Aplicatii terte pentru IPTV, OTT,...

Drept trecere cu “carulR...
 Sunt noile generatii care se nasc...

Butuc pedalier

Niste intrebari despre apartamente

Comentarii amuzante pe Youtube
 Nu iese laptopul din sleep mode.

Facerea de bine - ce aștepta...

Probleme drum servitute

Se pot monta placi de gresie de 1...
 Card de debit virtual emis de India

Diferenta ATS generator si PV

La multi ani @Lotusisrael!

Declarație primar
 

la furat :)

- - - - -
  • Please log in to reply
8 replies to this topic

#1
klm_blood

klm_blood

    Member

  • Grup: Members
  • Posts: 257
  • Înscris: 19.01.2007
Vreau si eu sa copii un script php... de pe un site al meu, dar vreau sa fac asta din browser. Cand intru in fisier scriptu arata asa:
<?php
/*
  $Id: login.php,v 1.80 2003/06/05 23:28:24 hpdl Exp $

  osCommerce, Open Source E-Commerce Solutions
  http://www.oscommerce.com

  Copyright (c) 2003 osCommerce

  Released under the GNU General Public License
*/

  require('includes/application_top.php');

// redirect the customer to a friendly cookie-must-be-enabled page if cookies are disabled (or the session has not started)
  if ($session_started == false) {
	tep_redirect(tep_href_link(FILENAME_COOKIE_USAGE));
  }

  require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_LOGIN);

  $error = false;
  if (isset($HTTP_GET_VARS['action']) && ($HTTP_GET_VARS['action'] == 'process')) {
	$email_address = tep_db_prepare_input($HTTP_POST_VARS['email_address']);
	$password = tep_db_prepare_input($HTTP_POST_VARS['password']);

// Check if email exists
	$check_customer_query = tep_db_query("select customers_id, customers_firstname, customers_password, customers_email_address, customers_default_address_id from " . TABLE_CUSTOMERS . " where customers_email_address = '" . tep_db_input($email_address) . "'");
	if (!tep_db_num_rows($check_customer_query)) {
	  $error = true;
	} else {
	  $check_customer = tep_db_fetch_array($check_customer_query);
// Check that password is good
	  if (!tep_validate_password($password, $check_customer['customers_password'])) {
		$error = true;
	  } else {
		if (SESSION_RECREATE == 'True') {
		  tep_session_recreate();
		}

		$check_country_query = tep_db_query("select entry_country_id, entry_zone_id from " . TABLE_ADDRESS_BOOK . " where customers_id = '" . (int)$check_customer['customers_id'] . "' and address_book_id = '" . (int)$check_customer['customers_default_address_id'] . "'");
		$check_country = tep_db_fetch_array($check_country_query);

		$customer_id = $check_customer['customers_id'];
		$customer_default_address_id = $check_customer['customers_default_address_id'];
		$customer_first_name = $check_customer['customers_firstname'];
		$customer_country_id = $check_country['entry_country_id'];
		$customer_zone_id = $check_country['entry_zone_id'];
		tep_session_register('customer_id');
		tep_session_register('customer_default_address_id');
		tep_session_register('customer_first_name');
		tep_session_register('customer_country_id');
		tep_session_register('customer_zone_id');

		tep_db_query("update " . TABLE_CUSTOMERS_INFO . " set customers_info_date_of_last_logon = now(), customers_info_number_of_logons = customers_info_number_of_logons+1 where customers_info_id = '" . (int)$customer_id . "'");

// restore cart contents
		$cart->restore_contents();

		if (sizeof($navigation->snapshot) > 0) {
		  $origin_href = tep_href_link($navigation->snapshot['page'], tep_array_to_string($navigation->snapshot['get'], array(tep_session_name())), $navigation->snapshot['mode']);
		  $navigation->clear_snapshot();
		  tep_redirect($origin_href);
		} else {
		  tep_redirect(tep_href_link(FILENAME_DEFAULT));
		}
	  }
	}
  }

  if ($error == true) {
	$messageStack->add('login', TEXT_LOGIN_ERROR);
  }

  $breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_LOGIN, '', 'SSL'));
?>
<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
<html <?php echo HTML_PARAMS; ?>>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">
<title><?php echo TITLE; ?></title>
<base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">
<link rel="stylesheet" type="text/css" href="stylesheet.css">
<script language="javascript"><!--
function session_win() {
  window.open("<?php echo tep_href_link(FILENAME_INFO_SHOPPING_CART); ?>","info_shopping_cart","height=500,width=445,toolbar=no,statusbar=no,scrollbars=yes").focus();
}
//--></script>
</head>
<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0">
<!-- header //-->
<?php require(DIR_WS_INCLUDES . 'header.php'); ?>
<!-- header_eof //-->

<!-- body //-->
<table border="0" width="100%" cellspacing="0" cellpadding="0">
  <tr>
	<td class="col_left">
<!-- left_navigation //-->
<?php require(DIR_WS_INCLUDES . 'column_left.php'); ?>
<!-- left_navigation_eof //-->
   </td>
<!-- body_text //-->
	<td width="100%" class="col_center"><?php echo tep_draw_form('login', tep_href_link(FILENAME_LOGIN, 'action=process', 'SSL')); ?><table border="0" width="100%" cellspacing="0" cellpadding="0">
	  <tr>
		<td>

<? tep_draw_heading_top();?>
		
<? new contentBoxHeading_ProdNew($info_box_contents);?>

<? tep_draw_heading_top_1();?>

<?php
  if ($messageStack->size('login') > 0) {
?>
	  
		<table cellpadding="0" cellspacing="0" border="0">
			<tr><td><?php echo $messageStack->output('login'); ?></td></tr>
			<tr><td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td></tr>
		</table>
<?php
  }

  if ($cart->count_contents() > 0) {
?>
	  <table cellpadding="0" cellspacing="0" border="0">
		  <tr><td class="smallText padd_1"><?php echo TEXT_VISITORS_CART; ?></td></tr>
		<tr><td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td></tr>
	  </table>
<?php
  }
?>

		
		<table border="0" cellspacing="3" cellpadding="2">
		  <tr>
			<td class="main" width="50%" valign="top"><b><?php echo HEADING_NEW_CUSTOMER; ?></b></td>
			<td class="main" width="50%" valign="top"><b><?php echo HEADING_RETURNING_CUSTOMER; ?></b></td>
		  </tr>
		  <tr>
			<td width="50%" height="100%" valign="top">
			
<?php echo tep_draw_infoBox_top();?>
				
				<table border="0" width="100%" height="100%" cellspacing="4" cellpadding="2" style=" height:220px;">
				  <tr><td class="main" valign="top"><?php echo TEXT_NEW_CUSTOMER . '<br><br>' . TEXT_NEW_CUSTOMER_INTRODUCTION; ?></td></tr>
				  <tr><td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '5'); ?></td></tr>
				  <tr><td>
					  <table border="0" width="100%" cellspacing="0" cellpadding="2">
						  <tr>
							<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '5', '1'); ?></td>
							<td align="right"><?php echo '<a href="' . tep_href_link(FILENAME_CREATE_ACCOUNT, '', 'SSL') . '">' . tep_image_button('button_continue.gif', IMAGE_BUTTON_CONTINUE) . '</a>'; ?><br style="line-height:1px;"><br style="line-height:5px;"></td>
							<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '5', '1'); ?></td>
						  </tr>
						</table></td>
					  </tr>
					</table>
					
<?php echo tep_draw_infoBox_bottom();?>	
		
			</td>
			<td width="50%" height="100%" valign="top">
			
<?php echo tep_draw_infoBox_top();?>			
				
				<table border="0" width="100%" height="100%" cellspacing="4" cellpadding="2" style=" height:220px;">
				  <tr><td class="main" colspan="2"><?php echo TEXT_RETURNING_CUSTOMER; ?></td></tr>
				  <tr><td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif', '100%', '5'); ?></td> </tr>
				  <tr><td class="main"><b><?php echo ENTRY_EMAIL_ADDRESS; ?></b><br style="line-height:1px;"><br style="line-height:5px;"><?php echo tep_draw_input_field('email_address'); ?></td></tr>
				  <tr><td class="main"><b><?php echo ENTRY_PASSWORD; ?></b><br style="line-height:1px;"><br style="line-height:5px;"><?php echo tep_draw_password_field('password'); ?></td></tr>
				  <tr><td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif', '100%', '5'); ?></td></tr>
				  <tr><td class="smallText" colspan="2"><?php echo '<a href="' . tep_href_link(FILENAME_PASSWORD_FORGOTTEN, '', 'SSL') . '">' . TEXT_PASSWORD_FORGOTTEN . '</a>'; ?></td></tr>
				  <tr><td colspan="2">
					<table border="0" width="100%" cellspacing="0" cellpadding="2">
					  <tr>
						<td><?php echo tep_draw_separator('pixel_trans.gif', '5', '1'); ?></td>
						<td align="right" class="bg_input"><?php echo tep_image_submit('button_sign_in1.gif', IMAGE_BUTTON_LOGIN); ?><br style="line-height:1px;"><br style="line-height:5px;"></td>
						<td><?php echo tep_draw_separator('pixel_trans.gif', '5', '1'); ?></td>
					  </tr>
					</table>
					</td></tr>
				</table>
				
<?php echo tep_draw_infoBox_bottom();?>				


			</td>
		  </tr>
		</table>
		
<? tep_draw_heading_bottom_1();?>
			  
<? tep_draw_heading_bottom();?>
	
		</td>
	  </tr>
	</table></form></td>
<!-- body_text_eof //-->
	<td class="col_right">
<!-- right_navigation //-->
<?php require(DIR_WS_INCLUDES . 'column_right.php'); ?>
<!-- right_navigation_eof //-->
	</td>
  </tr>
</table>
<!-- body_eof //-->

<!-- footer //-->
<?php require(DIR_WS_INCLUDES . 'footer.php'); ?>
<!-- footer_eof //--></body>
</html>
<?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>
dar cand incerc sa dau din browser view source imi arata asa:
<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="LTR" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>FabriQ International</title>
<base href="http://89.122.138.61/osc/">
<link rel="stylesheet" type="text/css" href="stylesheet.css">
<script language="javascript"><!--
function session_win() {
  window.open("http://89.122.138.61/osc/info_shopping_cart.php","info_shopping_cart","height=500,width=445,toolbar=no,statusbar=no,scrollbars=yes").focus();
}
//--></script>
</head>
<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0">
<!-- header //-->
<!-- start -->
<table cellpadding="0" cellspacing="0" border="0" style="width:697px; background:#FFFFFF" align="center"> 
	<tr>
		<td>
			<table cellpadding="0" cellspacing="0" border="0" style="height:344px; width:697px" class="header" align="center">
				<tr>
					<td align="center">
						 <table cellpadding="0" cellspacing="0" border="0">
							<tr>
								<td><a href="http://89.122.138.61/osc/index.php"><img src="images/logo.gif" border="0" alt="" width="425" height="74"></a></td>
								<td style="width:183px;">
									<table cellpadding="0" cellspacing="0" border="0">
										<tr>
											<td style="text-align:left"><img src="images/z1.gif" border="0" alt="" width="21" height="17"  class="vam"> <span>Shopping Cart</span> <a href="http://89.122.138.61/osc/shopping_cart.php">0  items</a></td>
										</tr>
									</table>
								 </td>
								 <td style="width:89px;">
									<table cellpadding="0" cellspacing="0" border="0">
										<tr><td style="width:100%"><a href="http://89.122.138.61/osc/login.php?language=ro"><img src="includes/languages/romanian/images/icon.gif" border="0" alt="Romana" title=" Romana " width="30" height="16"></a>&nbsp;&nbsp;<a href="http://89.122.138.61/osc/login.php?language=en"><img src="includes/languages/english/images/icon.gif" border="0" alt="English" title=" English " width="24" height="15"></a>&nbsp;&nbsp;<a href="http://89.122.138.61/osc/login.php?language=de"><img src="includes/languages/german/images/icon.gif" border="0" alt="Deutsch" title=" Deutsch " width="24" height="15"></a>&nbsp;&nbsp;<a href="http://89.122.138.61/osc/login.php?language=es"><img src="includes/languages/espanol/images/icon.gif" border="0" alt="Espanol" title=" Espanol " width="24" height="15"></a>&nbsp;&nbsp;</td></tr>
									</table>
								</td>
							</tr>
						</table> 
						 <table cellpadding="0" cellspacing="0" border="0">
							<tr>
								<td align="center"><a href="http://89.122.138.61/osc/index.php"><img src="includes/languages/english/images/buttons/m1.gif" border="0" alt="" width="136" height="44"></a><a href="http://89.122.138.61/osc/products_new.php"><img src="includes/languages/english/images/buttons/m2.gif" border="0" alt="" width="136" height="44"></a><a href="http://89.122.138.61/osc/specials.php"><img src="includes/languages/english/images/buttons/m3.gif" border="0" alt="" width="136" height="44"></a><a href="http://89.122.138.61/osc/account.php"><img src="includes/languages/english/images/buttons/m4.gif" border="0" alt="" width="136" height="44"></a><a href="http://89.122.138.61/osc/contact_us.php"><img src="includes/languages/english/images/buttons/m5.gif" border="0" alt="" width="134" height="44"></a><br><br style="line-height:4px"></td>
							</tr>
						</table>
						 <table cellpadding="0" cellspacing="0" border="0">
							<tr>
								<td>
									<table cellpadding="0" cellspacing="0" border="0">
										<tr>
											<td><a href="http://89.122.138.61/osc/specials.php"><img src="images/p.jpg" border="0" alt="" width="507" height="247"></a></td>
											<td><a href="http://89.122.138.61/osc/index.php?cPath=3"><img src="images/bann1.jpg" border="0" alt="" width="190" height="89"></a><br><a href="http://89.122.138.61/osc/index.php?cPath=2"><img src="images/bann2.jpg" border="0" alt="" width="190" height="88"></a><br><a href="http://89.122.138.61/osc/index.php?cPath=5"><img src="images/bann3.jpg" border="0" alt="" width="190" height="70"></a></td>
										</tr>
									</table>
								</td>
							</tr>
						</table> 
					 </td>
				</tr>
			</table>
		 </td>
	</tr>
	<tr>
		<td>
			<table cellpadding="0" cellspacing="0" border="0" style="height:500px; background:url(images/1_bg.gif) repeat-x top ">
				<tr>
					<td bgcolor="#FFFFFF"><img src="images/spacer.gif" border="0" alt="" width="1" height="1"></td>
					<td class="col_left">
<!-- end -->
<!-- start -->


<!-- end -->

<!-- header_eof //-->

<!-- body //-->
<table border="0" width="100%" cellspacing="0" cellpadding="0">
  <tr>
	<td class="col_left">
<!-- left_navigation //-->
<table border="0"cellspacing="0" cellpadding="0" class="box_width_left">
	<tr><td width="100%">
		<table border="0" cellspacing="0" cellpadding="0">
			<tr><td><img src="images/li.gif" border="0" alt="" width="192" height="19"></td></tr>
<tr><td>
<!-- manufacturers //-->
<table border="0" width="100%" cellspacing="0" cellpadding="0"  class="box_heading_table_2">
  <tr>
	<td><img src="images/box_corn_l_2.gif" border="0" alt="" width="27" height="48"></td>
	<td  style="width:100%;" class="box_heading_td_2">Manufacturers</td>
	<td><img src="images/box_corn_r_2.gif" border="0" alt="" width="10" height="48"></td>
  </tr>
</table>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
  <tr>
	<td><table border="0" width="100%" cellspacing="0" cellpadding="0"  style="margin-bottom:4px;" class="box_body_table_2">
  <tr>
	<td  class="box_body" style="padding:0px 27px 15px 27px;"><form name="manufacturers" action="http://89.122.138.61/osc/index.php" method="get"> 
												<table cellpadding="0" cellspacing="0" border="0">
													<tr>
													  <td align="center"><br style="line-height:2px"><select name="manufacturers_id" onchange="this.form.submit();" size="1"  style=" width:100%;"><option value="" SELECTED>Please Select</option><option value="4">Example_1</option><option value="8">Example_2</option><option value="9">Example_3</option></select></td>
													</tr>
												</table>								   
								   
								   </form></td>
  </tr>
  <tr>
	<td><img src="images/line1.gif" border="0" alt="" width="192" height="10"></td>
  </tr>
</table>
</td>
  </tr>
</table>
<!-- manufacturers_eof //-->
</td></tr><!-- currencies //-->
		  <tr>
			<td>
<table border="0" width="100%" cellspacing="0" cellpadding="0"  class="box_heading_table_3">
  <tr>
	<td><img src="images/box_corn_l_3.gif" border="0" alt="" width="27" height="48"></td>
	<td  style="width:100%;" class="box_heading_td_3">Currencies</td>
	<td><img src="images/box_corn_r_3.gif" border="0" alt="" width="10" height="48"></td>
  </tr>
</table>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
  <tr>
	<td><table border="0" width="100%" cellspacing="0" cellpadding="0"  style="margin-bottom:4px;" class="box_body_table_3">
  <tr>
	<td align="center"  class="box_body" style="padding:0px 27px 15px 27px;background:url(images/bg_22.gif) left bottom no-repeat;"><form name="currencies" action="http://89.122.138.61/osc/login.php" method="get"><select name="currency" onchange="this.form.submit();" style="width: 100%"><option value="USD" SELECTED>US Dollar</option><option value="&eu">Euro</option></select></form></td>
  </tr>
  <tr>
	<td><img src="images/line2.gif" border="0" alt="" width="192" height="10"></td>
  </tr>
</table>
</td>
  </tr>
</table>
			</td>
		  </tr>
<!-- currencies_eof //-->
<!-- categories //-->
		  <tr>
			<td>
<table border="0" width="100%" cellspacing="0" cellpadding="0"  class="box_heading_table">
  <tr>
	<td><img src="images/box_corn_l.gif" border="0" alt="" width="27" height="36"></td>
	<td  style="width:100%;" class="box_heading_td">Categories</td>
	<td><img src="images/box_corn_r.gif" border="0" alt="" width="10" height="36"></td>
  </tr>
</table>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
  <tr>
	<td><table border="0" width="100%" cellspacing="0" cellpadding="0"  style="margin-bottom:4px;" class="box_body_table">
  <tr>
	<td  class="box_body" style="background:url(images/box_corn_tc.gif) bottom repeat-x #ffffff;border:1px solid #adaaaa;border-width:0px 1px 0px 1px;padding:10px 27px 10px 27px;"><ul><li class="bg_list"><a href=http://89.122.138.61/osc/index.php?cPath=></a></li></ul></td>
  </tr>
  <tr>
	<td><img src="images/line3.gif" border="0" alt="" width="192" height="10"></td>
  </tr>
</table>
</td>
  </tr>
</table>
			</td>
		  </tr>
<!-- categories_eof //-->
		</table>
	</td>
	<td><img src="images/part_1.gif" border="0" alt="" width="3" height="46"></td></tr>
</table>
<!-- left_navigation_eof //-->
   </td>
<!-- body_text //-->
	<td width="100%" class="col_center"><form name="login" action="http://89.122.138.61/osc/login.php?action=process" method="post"><table border="0" width="100%" cellspacing="0" cellpadding="0">
	  <tr>
		<td>

<? tep_draw_heading_top();?>
		
<? new contentBoxHeading_ProdNew($info_box_contents);?>

<? tep_draw_heading_top_1();?>


		
		<table border="0" cellspacing="3" cellpadding="2">
		  <tr>
			<td class="main" width="50%" valign="top"><b>New Customer</b></td>
			<td class="main" width="50%" valign="top"><b>Returning Customer</b></td>
		  </tr>
		  <tr>
			<td width="50%" height="100%" valign="top">
			

					<table cellpadding="0" cellspacing="0" border="0" class="pic">
							<tr>
								<td><img src="images/corn_tl.gif" border="0" alt="" width="10" height="10"></td>
								<td style="width:100%; background:url(images/bg_vv.gif) top left repeat-x"><img src="images/spacer.gif" border="0" alt="" width="1" height="1"></td>
								<td><img src="images/corn_tr.gif" border="0" alt="" width="10" height="10"></td>
							</tr>
						<tr>
						  <td colspan="3" style="padding:15px 10px 8px 21px; border:1px solid #e2d5d8; border-width:0px 1px 0px 1px;">				
				<table border="0" width="100%" height="100%" cellspacing="4" cellpadding="2" style=" height:220px;">
				  <tr><td class="main" valign="top">I am a new customer.<br><br>By creating an account at FabriQ International you will be able to shop faster, be up to date on an orders status, and keep track of the orders you have previously made.</td></tr>
				  <tr><td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="5"></td></tr>
				  <tr><td>
					  <table border="0" width="100%" cellspacing="0" cellpadding="2">
						  <tr>
							<td width="10"><img src="images/pixel_trans.gif" border="0" alt="" width="5" height="1"></td>
							<td align="right"><a href="http://89.122.138.61/osc/create_account.php"><img src="includes/languages/english/images/buttons/button_continue.gif" border="0" alt="Continue" title=" Continue " width="72" height="18"></a><br style="line-height:1px;"><br style="line-height:5px;"></td>
							<td width="10"><img src="images/pixel_trans.gif" border="0" alt="" width="5" height="1"></td>
						  </tr>
						</table></td>
					  </tr>
					</table>
					
</td>
						</tr>
							<tr>
								<td><img src="images/cont_corn_bl.gif" border="0" alt="" width="10" height="10"></td>
								<td style="width:100%; background:url(images/cont_corn_bc.gif)"><img src="images/spacer.gif" border="0" alt="" width="1" height="1"></td>
								<td><img src="images/cont_corn_br.gif" border="0" alt="" width="10" height="10"></td>
							</tr>
					</table>
   	
		
			</td>
			<td width="50%" height="100%" valign="top">
			

					<table cellpadding="0" cellspacing="0" border="0" class="pic">
							<tr>
								<td><img src="images/corn_tl.gif" border="0" alt="" width="10" height="10"></td>
								<td style="width:100%; background:url(images/bg_vv.gif) top left repeat-x"><img src="images/spacer.gif" border="0" alt="" width="1" height="1"></td>
								<td><img src="images/corn_tr.gif" border="0" alt="" width="10" height="10"></td>
							</tr>
						<tr>
						  <td colspan="3" style="padding:15px 10px 8px 21px; border:1px solid #e2d5d8; border-width:0px 1px 0px 1px;">			
				
				<table border="0" width="100%" height="100%" cellspacing="4" cellpadding="2" style=" height:220px;">
				  <tr><td class="main" colspan="2">I am a returning customer.</td></tr>
				  <tr><td colspan="2"><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="5"></td> </tr>
				  <tr><td class="main"><b>E-Mail Address:</b><br style="line-height:1px;"><br style="line-height:5px;"><input type="text" name="email_address"></td></tr>
				  <tr><td class="main"><b>Password:</b><br style="line-height:1px;"><br style="line-height:5px;"><input type="password" name="password" maxlength="40"></td></tr>
				  <tr><td colspan="2"><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="5"></td></tr>
				  <tr><td class="smallText" colspan="2"><a href="http://89.122.138.61/osc/password_forgotten.php">Password forgotten? Click here.</a></td></tr>
				  <tr><td colspan="2">
					<table border="0" width="100%" cellspacing="0" cellpadding="2">
					  <tr>
						<td><img src="images/pixel_trans.gif" border="0" alt="" width="5" height="1"></td>
						<td align="right" class="bg_input"><input type="image" src="includes/languages/english/images/buttons/button_sign_in1.gif" border="0" alt="Sign In" title=" Sign In "><br style="line-height:1px;"><br style="line-height:5px;"></td>
						<td><img src="images/pixel_trans.gif" border="0" alt="" width="5" height="1"></td>
					  </tr>
					</table>
					</td></tr>
				</table>
				
</td>
						</tr>
							<tr>
								<td><img src="images/cont_corn_bl.gif" border="0" alt="" width="10" height="10"></td>
								<td style="width:100%; background:url(images/cont_corn_bc.gif)"><img src="images/spacer.gif" border="0" alt="" width="1" height="1"></td>
								<td><img src="images/cont_corn_br.gif" border="0" alt="" width="10" height="10"></td>
							</tr>
					</table>
				   


			</td>
		  </tr>
		</table>
		
<? tep_draw_heading_bottom_1();?>
			  
<? tep_draw_heading_bottom();?>
	
		</td>
	  </tr>
	</table></form></td>
<!-- body_text_eof //-->
	<td class="col_right">
<!-- right_navigation //-->
<table border="0"cellspacing="0" cellpadding="0" class="box_width_right">
	<tr><td></td>
		<td width="100%">
			<table border="0" cellspacing="0" cellpadding="0">
				<tr><td></td></tr>
			</table>
		</td>
	</tr>
</table>

<!-- right_navigation_eof //-->
	</td>
  </tr>
</table>
<!-- body_eof //-->

<!-- footer //-->
					 </td>
					<td bgcolor="#FFFFFF"><img src="images/spacer.gif" border="0" alt="" width="1" height="1"></td>
				</tr>
			</table>
		  </td>
	</tr>
	<tr>
		<td>
			<table cellpadding="0" cellspacing="0" border="0" style="height:58px; background:url(images/bot.gif)" class="footer">
				<tr>
					<td><img src="images/q1.gif" border="0" alt="" width="23" height="56"></td>		
					<td style=rew"width:199px"><img src="images/spacer.gif" border="0" alt="" width="199" height="1"><br><br style="line-height:18px"><img src="images/p1.gif" border="0" alt="" width="153" height="26"><br></td>		
					<td style="width:100%"><br style="line-height:11px"><span><a href="http://89.122.138.61/osc/specials.php">Specials</a></span> &nbsp; &nbsp;<span>|</span> &nbsp; &nbsp;<span><a href="http://89.122.138.61/osc/advanced_search.php">Advanced Search</a></span>  &nbsp; &nbsp;<span>|</span> &nbsp; &nbsp; <a href="http://89.122.138.61/osc/create_account.php">Create an Account</a> &nbsp; &nbsp;<span>|</span> &nbsp; &nbsp;<span><? if (tep_session_is_registered('customer_id')) { 
?><a href="http://89.122.138.61/osc/account.php">My Account</a><? } else 
{ ?><? } 
?></span> &nbsp; &nbsp;<span>|</span> &nbsp; &nbsp;<a href="http://89.122.138.61/osc/logoff.php">Log Off</a>&nbsp; &nbsp;<br><? } else 
{ ?><a href="http://89.122.138.61/osc/login.php">Log In</a><? } 
?></span><br style="line-height:1px;">
						  <br style="line-height:7px;"> <a href="http://89.122.138.61/osc/index.php">FabriQ International</a> &nbsp;&copy; 2008 &nbsp;| &nbsp;<b><a href="http://89.122.138.61/osc/privacy.php">Privacy Notice</a></b>
					</td>
					
					<td><img src="images/q2.gif" border="0" alt="" width="15" height="58"></td>
				</tr>
			</table>
		 </td>
	</tr>
</table>

<table border="0" width="100%" cellspacing="0" cellpadding="0">
  <tr>
	<td align="center"></td>
  </tr>
</table>
<!-- footer_eof //--></body>
</html>

Intrebarea mea este: Cum pot ca sa vad primul cod de la pagina ? (ala care are numai php)

#2
designweb

designweb

    Member

  • Grup: Members
  • Posts: 503
  • Înscris: 16.02.2007
utilizand doar browserul, e imposibil.
daca nu poti lua cu FileManagerul, iti trebuie un client FTP, sau un script(ce poate rula din broser), dar care sa se logheze la server via FTP, si sa preia sursele.
Google : "php ftp client"

#3
again

again

    WEB DUDE

  • Grup: Senior Members
  • Posts: 7,068
  • Înscris: 21.10.2005
deci nu poti lua codul sursa al unui site ce nu-ti apartine

#4
klm_blood

klm_blood

    Member

  • Grup: Members
  • Posts: 257
  • Înscris: 19.01.2007
da... am inteles :). ms oricum :P

#5
DarkAngelBv

DarkAngelBv

    === Proud owner of === ++++ Audi & Opel ++++

  • Grup: Senior Members
  • Posts: 12,747
  • Înscris: 24.03.2006

View Postklm_blood, on May 28 2008, 19:36, said:

Vreau si eu sa copii un script php... de pe un site al meu, dar vreau sa fac asta din browser. Cand intru in fisier scriptu arata asa:
....
....
....
Intrebarea mea este: Cum pot ca sa vad primul cod de la pagina ? (ala care are numai php)
Este simplu de ce nu vezi primul cod si le vezi pe restul:
Primul cod incepe cu <?php, urmatoarele incep doar cu <? iar pe server nu ai short open tags activat.

#6
klm_blood

klm_blood

    Member

  • Grup: Members
  • Posts: 257
  • Înscris: 19.01.2007
darkangelbv... nu ai inteles intrebarea :D. eu vreau sa iau codul php de la un site... prin browser. fara sa folosesc ftp sau alte chestii.

#7
lord_ice

lord_ice

    SEO is ART

  • Grup: Banned
  • Posts: 4,100
  • Înscris: 20.06.2007
Limbajul server side nu poate fi copiat prin browser, asa cum ti-am mai spus. Daca salvezi index.php vei primi output-ul (html, css, js, img,..) in nici un caz codul php...poate doar cine stie cum. Oricum nici duplicatoare de site nu salveaza php-ul...nici nu ar avea cum, deci fara acces la server (la fisiere mai bine spus) n-ai nici o sansa.

#8
DarkAngelBv

DarkAngelBv

    === Proud owner of === ++++ Audi & Opel ++++

  • Grup: Senior Members
  • Posts: 12,747
  • Înscris: 24.03.2006

View Postklm_blood, on May 28 2008, 22:45, said:

darkangelbv... nu ai inteles intrebarea :D. eu vreau sa iau codul php de la un site... prin browser. fara sa folosesc ftp sau alte chestii.
Eu am inteles perfect ce ai vrut sa zici doar ca la intrebare ti se raspunsese deja, asa ca ti-am explicat de ce ai totusi cod php in output-ul browserului.

#9
klm_blood

klm_blood

    Member

  • Grup: Members
  • Posts: 257
  • Înscris: 19.01.2007
da. multumesc pentru raspunsuri. poti sa inchizi topicul.

Anunturi

Chirurgia cranio-cerebrală minim invazivă Chirurgia cranio-cerebrală minim invazivă

Tehnicile minim invazive impun utilizarea unei tehnologii ultramoderne.

Endoscoapele operatorii de diverse tipuri, microscopul operator dedicat, neuronavigația, neuroelectrofiziologia, tehnicile avansate de anestezie, chirurgia cu pacientul treaz reprezintă armamentarium fără de care neurochirurgia prin "gaura cheii" nu ar fi posibilă. Folosind tehnicile de mai sus, tratăm un spectru larg de patologii cranio-cerebrale.

www.neurohope.ro

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Forumul Softpedia foloseste "cookies" pentru a imbunatati experienta utilizatorilor Accept
Pentru detalii si optiuni legate de cookies si datele personale, consultati Politica de utilizare cookies si Politica de confidentialitate