39,388 Topics

Member Avatar for
Member Avatar for ptemedia

Hi, I have seen a lot of people have been having a similar problem to this, but I have not found a solution and so daniweb is the best place to go! Basically, whenever I use: [CODE]<?php include_once "Filename.php"; ?>[/CODE] which I often do for the header, navigation and footer …

Member Avatar for ptemedia
0
274
Member Avatar for whiteyoh

Hi All, Can anybody shed any light on how to hide the servers email address when sending an email? It currently states: From [email]myserver@emailaddress.com[/email] on behalf of [email]myemail@address.com[/email] thanks

Member Avatar for eXpertPHP
0
69
Member Avatar for Nahiyan

Hello, I am storing my mysql connection data and other sensitive information in a config file, however I detected an issue that anyone can access that file and view the contents of that file but I don't want to let anyone do that without appropriate permission. I can encode the …

Member Avatar for eXpertPHP
0
127
Member Avatar for rom.

Hi all. I'm trying to move someone else's app onto a different server (and debug it in the process). Among the onslaught of bugs to squash, theres one I just cant get my head around... I get a parse error on try-catch, and I have no idea why. I've isolated …

Member Avatar for rom.
0
337
Member Avatar for supersuru

hey can any one please help me by showing me how to buy and sell a product online using php

Member Avatar for supersuru
0
58
Member Avatar for binu_ds

I fetched some data(eg:name ,email,phone,mobile etc) from a website using simpleDOMhtml.I want to store it into the database.Which page will write the code and how will write?Please help me.Thanks in advance.

Member Avatar for binu_ds
0
166
Member Avatar for mert2015

Hi coders, i am from germany,i have a problem with my php pagination. my problem is when i am searching something on my website pagination working without problem but when i am searching something on my website with türkisch or german things pagination or not working special charesters are not …

0
61
Member Avatar for nikita.chandra
Member Avatar for KSS
0
104
Member Avatar for Hani1991

Hello, I found this keyword written everywhere I read about classes, which is __construct. Is it a built-in method or keyword? What does it do? There's another one, which is __clone. What is it too? If they're not built-in, then why are they always preceded by 2 underscores? Thank you.

Member Avatar for Hani1991
0
96
Member Avatar for uselessninja

hi everyone i want to create a search page in PHP... where i can search data from database by a specific date by using odbc command (since i use to connect the DB by odbc) ...can some one help me ...

Member Avatar for cereal
0
106
Member Avatar for matleeds

Hi, I'm using Windows Vista, I have Apache HTTP server 2.2 running and am using PHP 5.2.17. I’m having a problem remotely running a php script on the web server. I run this script locally below… [CODE] <?php $file = fopen ("http://localhost/Epointment/testphp.php", "r"); if (!$file) { echo "<p>Unable to open …

Member Avatar for matleeds
0
245
Member Avatar for mwenyenia07

can somebody send me a code that can convert the date for the current day into year-month-day only. i don't want inclusion of hours/minutes/seconds stuffs. this will make it easy to tally with MYSQL's y-m-d format. am using codeIgniter 1.7.1 --sorry for my bad english---i speak afrikaan--

Member Avatar for Wraithmanilian
0
87
Member Avatar for basketmen

Hi guys, below are custom code to replacing text into link, for example [B]Google[/B] text, will be like this [URL="http://www.google.com"][B]Google[/B][/URL] [B]Yahoo[/B] text, will be like this [URL="http://www.yahoo.com"][B]Yahoo[/B][/URL] the replacement mod below are working well until now now i just need a little fix again, to make it better again i …

Member Avatar for diafol
0
89
Member Avatar for -==Zero==-

Iam Coding A Small Portal And Need Help This Is My Code [CODE]echo "<div class='posterdecoration'><img src='$row[scr1]' width='640' alt='$row[name]' /></div>"; echo "<div class='posterdecoration'><img src='$row[scr2]' width='640' alt='$row[name]' /></div>"; [/CODE] When I Put Scr1 + Scr2 From Site Panel It Show On The Site I Need To Use <If Condition> On The Scr2 …

Member Avatar for -==Zero==-
0
109
Member Avatar for gatomsgirl

[B]I get this notice when trying to get onto a blog I worked on Parse error: syntax error, unexpected T_STRING in /hermes/bosweb/web237/b2378/ipg.twopackedbagscom/wp-content/plugins/facebook-like-box-widget/facebook-like-box-widget.php on line 91 It's a wordpress site through ipage. I customized the site but do not know much about coding at all. The facebook-like-box-widget is just a plugin …

Member Avatar for almostbob
-1
295
Member Avatar for cali_dotcom

Hi, i am using the youtube api on my site to subscribe users to my youtube channel. currently, they would have to clink on a link to get authenticated and grant access to our application. from our youtube channel, there is a link that take them back to our page, …

Member Avatar for cali_dotcom
0
120
Member Avatar for gilgil2

HI I have a list of around 3000 letter combinations and I would like to turn each one into a .php file, but every file will have exactly the same content at the beginning. Does anyone know of a way to do this that doesn't involve me individually naming each …

Member Avatar for HITMANOF44th
0
111
Member Avatar for fantasma

Greetings I've got this code that tries to update a sortable list (not really a list since I don't use ordered lists, but divs). The thing is, I tested in another area of my site and it's working fine. When moving forward to another list, it just doesn't seem to …

Member Avatar for fantasma
0
256
Member Avatar for Sparhauoc

Greetings all, I am working on a website with data I only want logged in users to see. I currently have it where once they have logged in successfully, they can browse the website, and if they are not, they are directed to the login page. Sounds great. However, if …

Member Avatar for broj1
0
119
Member Avatar for dahi_man

Hi, for some weeks now, i have been trying to develop an [B]attendance system with php and mysql. [/B] I HAVE LOOKED EVERYWHERE!! what i have done is this: user select date (calendar). date is processed in php page. if attendance has not been filled,then new attendance sheet is provided. …

Member Avatar for dahi_man
0
785
Member Avatar for eusaf

Ok so problem is that I'm using an XML generated intro for my website. My intro(index.html) is in the root directory with website home(index2.html). Issue is that I want the website to be loaded directly after intro in the same browser tab/window/page instead of a new one. Intro is using …

0
113
Member Avatar for 54uydf

I'm saving queries in my DB as strings here's my code: [CODE] $SQLcode="SELECT * FROM ... WHERE field="blah blah" HAVING field2<$x"; $query = "INSERT INTO tblQ (qId, qName, description, SQLcode) VALUES (NULL, '$qName', '$description', '$SQLcode');"; [/CODE] the problem is inserting a string into the $SQLcode, if I do it this …

Member Avatar for cereal
0
77
Member Avatar for binu_ds

How will create multiple https in an array using PHP? eg: $html = file_get_html('http://google.com'); I want the same contents from this http and to store in database. Please help me.Thanks in advance.

Member Avatar for cereal
0
47
Member Avatar for jorjah

hi , i just want to know if there are codes that will add image into php css?

Member Avatar for cereal
0
45
Member Avatar for n.e.priya

hi frds if anyone knows how to import and export table details from db in the form of excel sheet please guide me.note it should cum as xls sheet

Member Avatar for 54uydf
0
108
Member Avatar for Nahiyan

Hi, I have used this code to make a php file with php code in it: [CODE]<?php $fn = 'connect.inc.php'; $string = "<?php $mysql_host = 'localhost'; $mysql_user = 'root'; $mysql_password = ''; $mysql_database = 'main'; @mysql_connect($mysql_host, $mysql_user, $mysql_password) or die("There was an error connecting to the server"); @mysql_select_db($mysql_database) or die("There …

Member Avatar for cereal
0
143
Member Avatar for fobos

Hello everyone, i had a question on how to pull certain content from a website using PHP and cURL and dislay it on a page? So far from the web, this is all i was able to find out, but this just saves the coding into a text document. Lets …

Member Avatar for cereal
0
875
Member Avatar for dashawk

Hi guys, I have a problem on my php code and url passing. [B]What it should do:[/B] There are 3 forms of the php file, the [B]"email"[/B], [B]"item1"[/B] and [B]"item2"[/B]. The [B]email form[/B] is hidden by default on page load, it will only be visible if any of the [B]item1[/B] …

Member Avatar for cereal
0
423
Member Avatar for heshanm

I have created these 2 pages to generate reports. [B][U]teller_reports.php[/U][/B] [CODE] <form id="form1" name="form1" method="post" action="daily_transactions_report.php"> <label>DailyTransaction Reports<br /> <br /> DATE </label> <input type="text" id="demo3" name="date" maxlength="25" size="25"/> <img src="../images/cal.gif" onclick="javascript:NewCssCal('demo3','yyyyMMdd')" style="cursor:pointer"/> <p> <label></label> <label> <a href="tcpdf/examples/daily_transactions_report.php"> <input type="submit" name="button" id="button" value="Generate" /> </a> </label> </p> </form> [/CODE] [B][U]daily_transactions.php[/U][/B] …

Member Avatar for heshanm
0
183
Member Avatar for rakwel10

Pls help me find the problem. All input fields work except for the upload. It doesnt take the file to directory I want. I have error scripts in case there's an error but alert errors are not popping, I dont know why... Help... [CODE] if(isset($_POST['submit'])) { $upload_errors = array( UPLOAD_ERR_OK …

Member Avatar for adkhan
0
136

The End.