39,316 Topics

Member Avatar for
Member Avatar for dlannetts

Hi, i am making a menu and want to be able to add menu links by simply adding a new record to a database, i have got the main concept going but am having some troubles, instead of writing: the same piece of code to load a new menu item …

Member Avatar for dlannetts
0
169
Member Avatar for n.utiu

Disclaimer! I have no prior knowledge of php, I just need a clear answer. I have the string $content, and I want to replace any [ or ] between the [nobb] and [/nobb] tags inside it with ^ and *. And I need also to do this again but this …

Member Avatar for n.utiu
0
360
Member Avatar for breham

Hi, I have feed different XML files with different formats that I want to let users map to our database themselves. Example [code]<product> <details> <name>Product One</product> <cost>20.00</cost> <available>2</available> </details> <technical> <width>3.00</width> <height>2.10</height> </technical> </product> [/code] What I need to do is be able to loop through the XML document and …

0
46
Member Avatar for Padmashri

[COLOR="Green"]Can anyone tell me, [/COLOR][B][COLOR="Red"]how to insert a PHP code in DRUPAL?[/COLOR][/B]

0
41
Member Avatar for muralibobby2015

hello.. i am using random query with pagination. but i am getting same results in second page also. Two things I need to make happen: 1. click on a result, you click the back button, results are in same order. 2. You get a paginated list of results in a …

Member Avatar for muralibobby2015
0
141
Member Avatar for emillion82

I have a string, that contains multiple values, and has a prefix of ***. Here's an example: [code=php] $value = 'a.first_name, a.last_name, a.address, a.city, a.state, b.phone_num, bc.gender, vfr.rating'; // instead, I'd like for it to display like this $value = 'first_name, last_name, address, city, state, phone_num, gender, rating'; [/code] Basically, …

Member Avatar for kylegetson
0
125
Member Avatar for sameeya007

think there are 3 selecting box in web site.1st one is jump menu and other 2 are select menu.usually jump menu what happen is when we select some thing from that it jump to another page or some where..i wanted to know .when i select some value on jump menu …

Member Avatar for sameeya007
0
37
Member Avatar for alla87

Hi People, I have this problem, i have created an upload form which includes some text fields and also an image upload which then gets sent to a server. I haven't yet got any validation or sanitisation on there at the moment. Im abit new to PHP and can code …

Member Avatar for tr4ssj2
0
83
Member Avatar for jdigs

Good mornin' y'all, I'm looking to add a search engine to my site and was hoping for a recommendation on a free downloadable script based on the following criteria: [LIST] [*]Yes, I would prefer something that I can implement on my own and then tweak compared to an engine that …

Member Avatar for jdigs
0
78
Member Avatar for Clarkeez

Hello I've looked around and looks as if this can be done with Jquery, but the guides and full of so much bullshit its insane. Anyone done this and have a good way to do this. Most of the other ones have form validation and crap which 1) doesnt relate …

Member Avatar for diafol
0
75
Member Avatar for freddyvorhees

Hello! I want to continue a session even after the browser was closed. What I want to do is to remember the host, username, password, of mysql. Whats the trick?

Member Avatar for maba001
0
153
Member Avatar for badbanky

hheyy yall!! i really wuld lik a quick a reply 2 dis cos i really wnt 2 knw hw i can encode a php/phtml script 2 go unnotice/untraceable 1luv!!

Member Avatar for Kieran Y5
0
84
Member Avatar for badbanky

Hi!! Evri1. I gat a bit of a problem dat i need solved i register at freehost site e.g x10. But whenever i try 2 upload a file 'tutorial.php' mi accunt gets blocked. Nd den a message is sent to me saying i ve broke their terms of service by …

Member Avatar for badbanky
-1
130
Member Avatar for gchurch

hey all i'm busy makin an online bookin system for a project. What i need is when the rooms get displayed, the customer can select, using check boxes which rooms he/she wants. ranging from 1 room to all 6 if he/she wants. then on the next page i need only …

Member Avatar for P0lT10n
0
119
Member Avatar for Puster

Hello, Can somebody help me to make a logon script? I want to make this script like that I add useres manually, in the database. And when people are going to the admin content it will show up: Pleas Login! Username: Password: Forgotten your password? click her! (And when the …

Member Avatar for P0lT10n
0
56
Member Avatar for anarki2k3

i'm having a bizarre issue with a form that seems to not want to post the file data array... [code=php]<form method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>"> <input type="hidden" name="category" value="music" /> <input type="file" name="image_upload" class="multi" accept="jpg|jpeg" maxlength="1" /> <input type="submit" name="cat_music_img" value="Update" /> </form>[/code] the following is a snippet i just …

Member Avatar for patodeborracha
0
105
Member Avatar for teedoff

Hi new to PHP...very new..I created some pages for a class I'm taking in php. Eight pages with a query and dynamic results table on each page. They all work fine but the problem is they only work locally. We have a remote server for school use, but of course …

Member Avatar for teedoff
0
94
Member Avatar for bjc999

I know PHP include is server sided, but is there something similar I can implement that can work across different servers? Or something server sided that can work on the same server but across different URLs? Thanks!

Member Avatar for nonshatter
0
165
Member Avatar for bjc999

Hello, I am trying to map a URL to a sub path using .htaccess. Does this look right? //Rewrite to www Options +FollowSymLinks RewriteEngine on RewriteCond %{HTTP_HOST} ^domain.co.uk/sub-path[nc] RewriteRule ^(.*)$ http://www.domain.co.uk/sub-path/$1 [r=301,nc] //301 Redirect Old File Redirect 301 [url]www.anotherdomain.co.uk[/url] [url]www.domain.co.uk/sub-path[/url] //301 Redirect Entire Directory RedirectMatch 301 [url]www.anotherdomain.co.uk(.*[/url]) www.domain.co.uk/sub-path/$1 Many thanks!

0
113
Member Avatar for gazzy1

PLZ HELP ME I WANT TO MAKE MY OWN WEBHOST I HAVE 10 pCS ON MY NETWORK AND 01 SERVER INSTALLED WITH WIN SERVER 2003 SP2 (ACTIVE DIRY INSTALLED WITH DNS) THE IP ADDRESS OF MY SERVER IS 192.168.1.1 I HAVE ALSO HOST THE SITE ON MY SERVER WITH APACHE …

Member Avatar for maba001
0
278
Member Avatar for gazzy1

PLZ HELP ME I WANT TO MAKE MY OWN WEBHOST I HAVE 10 pCS ON MY NETWORK AND 01 SERVER INSTALLED WITH WIN SERVER 2003 SP2 (ACTIVE DIRY INSTALLED WITH DNS) THE IP ADDRESS OF MY SERVER IS 192.168.1.1 I HAVE ALSO HOST THE SITE ON MY SERVER WITH APACHE …

Member Avatar for maba001
0
69
Member Avatar for pritaeas

Below is the XML response you get from the W3C Validation API: [code=xml] <?xml version="1.0" encoding="UTF-8"?> <env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"> <env:Body> <m:markupvalidationresponse env:encodingStyle="http://www.w3.org/2003/05/soap-encoding" xmlns:m="http://www.w3.org/2005/10/markup-validator"> <m:uri>http://www.pritaeas.net/</m:uri> <m:checkedby>http://validator.w3.org/</m:checkedby> <m:doctype>-//W3C//DTD XHTML 1.1//EN</m:doctype> <m:charset>utf-8</m:charset> <m:validity>true</m:validity> <m:errors> <m:errorcount>3</m:errorcount> <m:errorlist> <m:error> <m:line>10</m:line> <m:col>1</m:col> </m:error> <m:error> <m:line>12</m:line> <m:col>2</m:col> </m:error> <m:error> <m:line>14</m:line> <m:col>3</m:col> </m:error> </m:errorlist> </m:errors> <m:warnings> <m:warningcount>0</m:warningcount> <m:warninglist> </m:warninglist> …

Member Avatar for pritaeas
0
165
Member Avatar for bjc999

Hi there, I have a few sites plus a few clients' sites I have designed and manage. At present, when I want to add a new feature to all of the sites, I code it into each site individually. What I want to achieve is to be able to update …

Member Avatar for bjc999
0
265
Member Avatar for chrisscicluna

Hi i am trying to connect to an SQL Server using mssql_connect, the problem is that it is giving me a fatal error. I ran a script to see if the mssql functions are installed and seems like they do not exist. I read around and seems like i have …

0
58
Member Avatar for iLoveNoodle
Member Avatar for nonshatter
0
42
Member Avatar for pietpiraat

hello everyone, i think this a rather complex question but i'll have a go. i have this output from mysql printed on a php page: user1 ------------------- week | hours worked | hours had to work | missing hours 32 | 30 | 32 | 2 user2 ------------------- week | …

Member Avatar for pietpiraat
0
145
Member Avatar for trilithon

Hi All, Can anyone tell how the import and export to and from Auto desk Revit works and where I can find out more about the procedure of Linking the drawings to a SQL database that when you edit the drawing it updates the tables and when editing the tables …

0
52
Member Avatar for Wumbate

I'm trying to make a script that makes a HTTP POST with some headers, and with a file as the body. I've found all sorts of documentation online about making a HTTP POST with headers, but can't figure out how to make the POST with a file as a body. …

Member Avatar for P0lT10n
0
46
Member Avatar for Puster

Hello!:) I have made a script that can insert the data to the database but i can't get it out with my codes! I have chekked that names with tables, and rows are correct, but with no result! I hope that some one on this forum can help me?:) Code …

Member Avatar for P0lT10n
-1
40
Member Avatar for 57Burst

I'm try to design a web page that displays pictures (thumbnail) with a link to the full size picture under the picture.. The code below shows the full path to the picture but I can't figure out how to make it into an link. Here is the php code:[code=php] <?php …

Member Avatar for P0lT10n
0
79

The End.