Jump to content
  • 0

Pws Mporw Na Perasw Php Arxeia Se Html?


Question

Posted

Paidia mipws 3erei kaneis pws mporw na perasw arxeia .php se html... Ta arxeia php ta exw to mono pou 8elw einai na ta balw mesa stin selida mou...! An mporei kapoios as mou pei ton kodika html pou prepei...Thx

15 answers to this question

Recommended Posts

  • 0
Posted (edited)

php and html are to differents files, you can have png/gif together? no you cant, that means you cant!
 
config_sql,php
 

<?php
////////////MySQL Infos///////////////////
    $server = 'localhost'; //Server Address - if is localhost use localhost if not then use Internet Protocol
    $User  = 'root'; //Username
    $Password    = ''; //Password mysql
    $Database    = ''; //Database Name
    $Connection = mysql_connect($server, $User, $Password) or die(mysql_error());
               mysql_select_db($Database, $Connection) or die(mysql_error());           
function total($tab, $cond = NULL) {
    $sql = mysql_query("SELECT COUNT(*) AS total FROM ".$tab." ".$cond."") or die(mysql_error());
    $c = mysql_fetch_array($sql);
    return $c['total'];
}
?>

 
Index,php
 

<?php
include('configs/config_sql.php');
?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
</body>
</html>
Edited by FirefoxAurora
  • 0
Posted

 

php and html are to differents files, you can have png/gif together? no you cant, that means you cant!

 

config_sql,php

 

<?php
////////////MySQL Infos///////////////////
    $server = 'localhost'; //Server Address - if is localhost use localhost if not then use Internet Protocol
    $User  = 'root'; //Username
    $Password    = ''; //Password mysql
    $Database    = ''; //Database Name
    $Connection = mysql_connect($server, $User, $Password) or die(mysql_error());
               mysql_select_db($Database, $Connection) or die(mysql_error());           
function total($tab, $cond = NULL) {
    $sql = mysql_query("SELECT COUNT(*) AS total FROM ".$tab." ".$cond."") or die(mysql_error());
    $c = mysql_fetch_array($sql);
    return $c['total'];
}
$loginserver = @fsockopen($server, 2106, $errno, $errstr, 1);
$gameserver = @fsockopen($server, 7777, $errno2, $errstr2, 1);
?>

 

Index,php

 

<?php
include('configs/config_sql.php');
?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
</body>
</html>

And now i have 2 php files right??? config_sql.php and Index.php

  • 0
Posted (edited)

it won't work in l2

reason?

 

 

>Login Server: <?php echo $loginserver ? '<img src="images/on.gif">' : '<img src="images/off.gif">'; ?>  

              Game Server: <?php echo $gameserver ? '<img src="images/on.gif">' : '<img src="images/off.gif">'; ?>  

Players Online: </a> <?php echo $funcao_ons ?>

Edited by FirefoxAurora
  • 0
Posted

reason?

 

 

>Login Server: <?php echo $loginserver ? '<img src="images/on.gif">' : '<img src="images/off.gif">'; ?>  

              Game Server: <?php echo $gameserver ? '<img src="images/on.gif">' : '<img src="images/off.gif">'; ?>  

Players Online: </a> <?php echo $funcao_ons ?>

 

It wont work in L2, basically the L2 HTMLs are String "instructions" that make the C part of the client construct an HTML, but its not really an HTML, the features it provides are very limited, it has only the basic instructions of HTML, nothing else

  • 0
Posted

<?php

$L2JBS_config["mysql_host"]="localhost"; // MySQL Host  ["localhost"]  ->>> HERE NEED TO PUST IP ADRESS FROM HOSTING?<<< 

$L2JBS_config["mysql_port"]="3306"; // MySQL Port ["3306"]

$L2JBS_config["mysql_db"]="l2jdb"; // MySQL Database ["l2jdb"]

$L2JBS_config["mysql_login"]="root"; // MySQL User ["root"]

$L2JBS_config["mysql_password"]="master"; // MySQL Password

 

["root"]

$facepcs="20"; // Count of Face PCs

include("_config_procs.php");

error_reporting(0);

?>

  • 0
Posted (edited)

attachicon.giferr.png  re pedia kapios help exw prob otan paw na valw players online auto m vgazi..

Έχεις καταλάβει ότι αυτό το topic το έχει φτιάξει άλλος για να πάρει βοήθεια και αυτά που κάνεις post είναι off-topic;

 

Θα πρέπει να ανοίξεις δικό σου topic αν θες βοήθεια.

Edited by MikeJ

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Posts

    • SocNet x Dolphin Anty Partnership — Reaching New Heights Together! We’re excited to announce our new partnership with the anti-detect browser Dolphin Anty! Thank you for your trust and support — it's because of you that we continue to grow, expand, and bring even more value and opportunities to our customers. This partnership with Dolphin Anty offers more convenience, security, and flexibility for your work and automation needs. Read more on Dolphin Anty’s official blog: https://dolphin-anty.com/blog/en/socnet-and-dolphin-anty/ We’re also looking for new suppliers! — Snapchat accounts — Reddit accounts with karma — LinkedIn accounts with connections Contact us via DM or support to discuss terms — we’re always open to partnership proposals! Explore our online store: ➡ Accounts: Telegram, Facebook, Reddit, Twitter (X), Instagram, YouTube, TikTok, Discord, VK, LinkedIn, GitHub, Snapchat, Gmail, and emails (Outlook, Firstmail, Rambler, Onet, Gazeta, GMX, Yahoo, Proton, Web.de), Google Voice, Google Ads ➡ Premium Subscriptions: Telegram Premium, Twitter X Premium, YouTube Premium, Spotify Premium, Netflix Premium, Discord Nitro, ChatGPT Plus/PRO, XBOX Game Pass ➡ Additional Services: Telegram Stars, proxies (IPv4, IPv6, ISP, Mobile), VPNs (Outline, WireGuard, others), VDS/RDP servers To celebrate the partnership, use promo code DOLPHIN15 for 15% off in our online store! SMM Panel Services: ➡ Use our SMM Panel to boost: Facebook, Instagram, Telegram, Spotify, SoundCloud, YouTube, Reddit, Threads, Kick, Discord, LinkedIn, Likee, VK, Twitch, Kwai, website traffic, TikTok, TrustPilot, Apple Music, TripAdvisor, Snapchat, and more. Get $1 Trial Credit for your first SMM Panel launch: Just submit a support ticket titled "Get Trial Bonus" on our website. ➡ Go to the SMM Panel (clickable) or contact support via bot. Our Key Products: ➡ Online Store: Click ➡ Telegram Store Bot: Click ➡ SMM Panel: Click Payment methods: bank cards · crypto · other popular methods Returning customers get extra discounts & promo codes! Support Contacts: ➡ Telegram: https://t.me/solomon_bog ➡ Discord: https://discord.gg/y9AStFFsrh ➡ WhatsApp: https://wa.me/79051904467 ➡ ✉ Email: solomonbog@socnet.store ➡ Telegram Channel: https://t.me/accsforyou_shop You can also use these contacts to: — consult about bulk purchases — propose partnerships (our partners: https://socnet.bgng.io/partners ) — become a supplier SocNet — Digital Goods & Premium Subscriptions Store
    • SocNet x Dolphin Anty Partnership — Reaching New Heights Together! We’re excited to announce our new partnership with the anti-detect browser Dolphin Anty! Thank you for your trust and support — it's because of you that we continue to grow, expand, and bring even more value and opportunities to our customers. This partnership with Dolphin Anty offers more convenience, security, and flexibility for your work and automation needs. Read more on Dolphin Anty’s official blog: https://dolphin-anty.com/blog/en/socnet-and-dolphin-anty/ We’re also looking for new suppliers! — Snapchat accounts — Reddit accounts with karma — LinkedIn accounts with connections Contact us via DM or support to discuss terms — we’re always open to partnership proposals! Explore our online store: ➡ Accounts: Telegram, Facebook, Reddit, Twitter (X), Instagram, YouTube, TikTok, Discord, VK, LinkedIn, GitHub, Snapchat, Gmail, and emails (Outlook, Firstmail, Rambler, Onet, Gazeta, GMX, Yahoo, Proton, Web.de), Google Voice, Google Ads ➡ Premium Subscriptions: Telegram Premium, Twitter X Premium, YouTube Premium, Spotify Premium, Netflix Premium, Discord Nitro, ChatGPT Plus/PRO, XBOX Game Pass ➡ Additional Services: Telegram Stars, proxies (IPv4, IPv6, ISP, Mobile), VPNs (Outline, WireGuard, others), VDS/RDP servers To celebrate the partnership, use promo code DOLPHIN15 for 15% off in our online store! SMM Panel Services: ➡ Use our SMM Panel to boost: Facebook, Instagram, Telegram, Spotify, SoundCloud, YouTube, Reddit, Threads, Kick, Discord, LinkedIn, Likee, VK, Twitch, Kwai, website traffic, TikTok, TrustPilot, Apple Music, TripAdvisor, Snapchat, and more. Get $1 Trial Credit for your first SMM Panel launch: Just submit a support ticket titled "Get Trial Bonus" on our website. ➡ Go to the SMM Panel (clickable) or contact support via bot. Our Key Products: ➡ Online Store: Click ➡ Telegram Store Bot: Click ➡ SMM Panel: Click Payment methods: bank cards · crypto · other popular methods Returning customers get extra discounts & promo codes! Support Contacts: ➡ Telegram: https://t.me/solomon_bog ➡ Discord: https://discord.gg/y9AStFFsrh ➡ WhatsApp: https://wa.me/79051904467 ➡ ✉ Email: solomonbog@socnet.store ➡ Telegram Channel: https://t.me/accsforyou_shop You can also use these contacts to: — consult about bulk purchases — propose partnerships (our partners: https://socnet.bgng.io/partners ) — become a supplier SocNet — Digital Goods & Premium Subscriptions Store
    • SocNet x Dolphin Anty Partnership — Reaching New Heights Together! We’re excited to announce our new partnership with the anti-detect browser Dolphin Anty! Thank you for your trust and support — it's because of you that we continue to grow, expand, and bring even more value and opportunities to our customers. This partnership with Dolphin Anty offers more convenience, security, and flexibility for your work and automation needs. Read more on Dolphin Anty’s official blog: https://dolphin-anty.com/blog/en/socnet-and-dolphin-anty/ We’re also looking for new suppliers! — Snapchat accounts — Reddit accounts with karma — LinkedIn accounts with connections Contact us via DM or support to discuss terms — we’re always open to partnership proposals! Explore our online store: ➡ Accounts: Telegram, Facebook, Reddit, Twitter (X), Instagram, YouTube, TikTok, Discord, VK, LinkedIn, GitHub, Snapchat, Gmail, and emails (Outlook, Firstmail, Rambler, Onet, Gazeta, GMX, Yahoo, Proton, Web.de), Google Voice, Google Ads ➡ Premium Subscriptions: Telegram Premium, Twitter X Premium, YouTube Premium, Spotify Premium, Netflix Premium, Discord Nitro, ChatGPT Plus/PRO, XBOX Game Pass ➡ Additional Services: Telegram Stars, proxies (IPv4, IPv6, ISP, Mobile), VPNs (Outline, WireGuard, others), VDS/RDP servers To celebrate the partnership, use promo code DOLPHIN15 for 15% off in our online store! SMM Panel Services: ➡ Use our SMM Panel to boost: Facebook, Instagram, Telegram, Spotify, SoundCloud, YouTube, Reddit, Threads, Kick, Discord, LinkedIn, Likee, VK, Twitch, Kwai, website traffic, TikTok, TrustPilot, Apple Music, TripAdvisor, Snapchat, and more. Get $1 Trial Credit for your first SMM Panel launch: Just submit a support ticket titled "Get Trial Bonus" on our website. ➡ Go to the SMM Panel (clickable) or contact support via bot. Our Key Products: ➡ Online Store: Click ➡ Telegram Store Bot: Click ➡ SMM Panel: Click Payment methods: bank cards · crypto · other popular methods Returning customers get extra discounts & promo codes! Support Contacts: ➡ Telegram: https://t.me/solomon_bog ➡ Discord: https://discord.gg/y9AStFFsrh ➡ WhatsApp: https://wa.me/79051904467 ➡ ✉ Email: solomonbog@socnet.store ➡ Telegram Channel: https://t.me/accsforyou_shop You can also use these contacts to: — consult about bulk purchases — propose partnerships (our partners: https://socnet.bgng.io/partners ) — become a supplier SocNet — Digital Goods & Premium Subscriptions Store
    • Wipe. Open Date: 2025-08-02, 18:00 GMT+2
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock