Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 25 of 51
Search took 0.13 seconds.
Search: Posts Made By: Trinity-Links
Forum: JavaScript programming 09-18-2011, 11:33 AM
Replies: 0
Views: 3,118
Posted By Trinity-Links
onclick submit only submits once (more than one submit button)

I have created some online software which uses form data to submit to another page.

The problem is that I have other submit buttons in the same form which submit to different pages (depending on...
Forum: PHP 03-09-2009, 11:49 PM
Replies: 3
Views: 629
Posted By Trinity-Links
date: change "03" into "March"

just a quicky,

If tried a number of ways to turn "03" into "March" & "04" into "april" and so on.........

$date ="03";
$date = strftime("%b", $date);

I'm obviously using the wrong command...
Forum: MySQL 03-08-2009, 11:46 PM
Replies: 4
Views: 782
Posted By Trinity-Links
cheers very muchly.... I can see where I...

cheers very muchly....

I can see where I went wrong now....Mind u, it is past me bed time!

Thanks again:):):)
Forum: MySQL 03-08-2009, 11:25 PM
Replies: 4
Views: 782
Posted By Trinity-Links
Querying a time format

Hi,

Im creating a blog ... when I click on a date (March-2009) I want msql to query all the posts in March-2009

obviously the database has stored the date as something like "2009-03-01"

Im...
Forum: General web building 03-07-2009, 02:35 PM
Replies: 5
Views: 3,851
Posted By Trinity-Links
FREE Menu Verticle Generator

There's this one :
http://www.freecssmenus.co.uk/menu_maker_verticle.php
:)
Forum: JavaScript programming 01-05-2009, 12:08 PM
Replies: 7
Views: 1,595
Posted By Trinity-Links
Worked a treat! Thanks 4 your time..

Worked a treat!

Thanks 4 your time..
Forum: JavaScript programming 01-05-2009, 11:57 AM
Replies: 7
Views: 1,595
Posted By Trinity-Links
no... this is just a small snipet of a...

no...

this is just a small snipet of a larger form....

I am creating a css menu maker and have about 20 background gradiants for users to choose from.
Once the user has selected the image to...
Forum: JavaScript programming 01-05-2009, 11:44 AM
Replies: 7
Views: 1,595
Posted By Trinity-Links
paste into text field of a form from hyperlink choice

Hi

If I had a list of images for a user to select from, is there any way of using javascript to insert the image address into a text field of a html form, once the image has been clicked?

<form...
Forum: MySQL 11-26-2008, 06:15 PM
Replies: 2
Views: 944
Posted By Trinity-Links
cheers bud.... very helpfull

cheers bud.... very helpfull
Forum: MySQL 11-16-2008, 10:34 AM
Replies: 2
Views: 944
Posted By Trinity-Links
Mysql_error mail system admin

During the build of my website I used mysql_error() to point out my failings to then rectify.

This code will log errors and email me with them once the website has gone live :

<?php...
Forum: PHP 07-12-2008, 10:19 PM
Replies: 5
Views: 1,163
Posted By Trinity-Links
Thats worked a treat.... cheers :thumbsup:

Thats worked a treat.... cheers

:thumbsup:
Forum: PHP 07-12-2008, 10:08 PM
Replies: 5
Views: 1,163
Posted By Trinity-Links
The file just isnt being created on the server......

The file just isnt being created on the server...

Ive added the error handling:
it reads:
Fatal error: Call to undefined function: file_put_contents() in D:\*************\test.php on line 14
...
Forum: PHP 07-12-2008, 09:46 PM
Replies: 5
Views: 1,163
Posted By Trinity-Links
file_put_contents:Create new file on Server

Hi,
I'm trying to create a website where the majority of mainatence is done via the website itself.

At the moment I am trying to utilise the file_put_contents command so that I can create new php...
Forum: ColdFusion 05-07-2008, 08:46 PM
Replies: 3
Views: 5,848
Posted By Trinity-Links
cheers bud!:thumbsup:

cheers bud!:thumbsup:
Forum: ColdFusion 05-05-2008, 11:04 AM
Replies: 3
Views: 5,848
Posted By Trinity-Links
Hiding recipients email address when sending to multiple users

I have created a simple<cfmail> which sends to multiple users from my website:

<cfmail
to = "mail1@mail.com,mail2@mail.com,mail3@mail.com,mail4@mail.com"
from = "my_email_add"
type="html"...
Forum: MySQL 04-28-2008, 06:17 PM
Replies: 20
Views: 2,236
Posted By Trinity-Links
:)......

:)......
Forum: MySQL 04-27-2008, 05:28 PM
Replies: 20
Views: 2,236
Posted By Trinity-Links
Youve been a great help... I think ive been...

Youve been a great help...

I think ive been looking at this from the wrong angle (complete novice angle)..
when I first researched mysql_real_escape_string I believed it stripped a $string of...
Forum: MySQL 04-27-2008, 09:24 AM
Replies: 20
Views: 2,236
Posted By Trinity-Links
ah right... thats ok:thumbsup: when I remove...

ah right... thats ok:thumbsup:

when I remove the mysql_real_escape_string:

anything' OR 'x'='x enters the database as : 1

does that sound about normal ?

Also I take it that...
Forum: MySQL 04-26-2008, 05:54 PM
Replies: 20
Views: 2,236
Posted By Trinity-Links
ive changed all the strings to...

ive changed all the strings to mysql_real_escape_string

anything' OR 'x'='x still enters the data base as:

anything' OR 'x'='x

New code:

/* Connecting to the Data Base*/...
Forum: MySQL 04-26-2008, 05:46 PM
Replies: 20
Views: 2,236
Posted By Trinity-Links
I will give that a go... Is that what is...

I will give that a go...
Is that what is causing the problem or is it just good coding?:thumbsup:
Forum: MySQL 04-26-2008, 05:05 PM
Replies: 20
Views: 2,236
Posted By Trinity-Links
require('connections/connect.php'); $tag =...

require('connections/connect.php');
$tag = mysql_real_escape_string($tag);
$query ="INSERT INTO tag (type, status, date, name, email, yourtag, url, description, fontsize, fontc, borderc, backc,...
Forum: MySQL 04-26-2008, 11:48 AM
Replies: 20
Views: 2,236
Posted By Trinity-Links
:mad::mad::mad:

:mad::mad::mad:
Forum: MySQL 04-26-2008, 11:06 AM
Replies: 20
Views: 2,236
Posted By Trinity-Links
this is my connect.php file: <? DEFINE...

this is my connect.php file:
<?
DEFINE ('DB_USER', '********');
DEFINE ('DB_PASSWORD', '********');
DEFINE ('DB_HOST', '********');
DEFINE ('DB_NAME', '********');
/* connect */
$dbc =...
Forum: MySQL 04-26-2008, 09:34 AM
Replies: 20
Views: 2,236
Posted By Trinity-Links
I got my hosts to turn off "magic_quotes_gpc " ...

I got my hosts to turn off "magic_quotes_gpc "

now the escape string seems to be unable to stop the injection:(
Forum: MySQL 04-25-2008, 09:49 PM
Replies: 20
Views: 2,236
Posted By Trinity-Links
I found an example of an sql injection: ...

I found an example of an sql injection:

anything' OR 'x'='x

when entered into the form (email) and submitted, the database was updated with this:

anything\\\' OR \\\'

has that worked ok?
Showing results 1 to 25 of 51

 
Forum Jump

All times are GMT +1. The time now is 03:47 PM.