Search Results

Showing results 1 to 40 of 78
Search took 0.01 seconds.
Search: Posts Made By: shadiadiph
Forum: Linux Servers and Apache Jul 5th, 2009
Replies: 4
Views: 1,066
Posted By shadiadiph
ok no problem i got it working now
Forum: Linux Servers and Apache Jul 5th, 2009
Replies: 4
Views: 1,066
Posted By shadiadiph
I already did what portfrward recommended for my router also I have been trying to access it from another isp it doesn't work when i go to my static ip or dynamic dns it points to my router fine i...
Forum: Linux Servers and Apache Jul 4th, 2009
Replies: 4
Views: 1,066
Posted By shadiadiph
Sorry i have'nt got a clue what i am doing i just bought a webserver and and can't get it to work.

I have a dynamic dns set up with my static ip address.
In the nat on my roter i have set up...
Forum: PHP May 11th, 2009
Replies: 4
Views: 366
Posted By shadiadiph
those are the last two $error statements in loop so they should not affect it
Forum: PHP May 11th, 2009
Replies: 4
Views: 366
Posted By shadiadiph
I have the following problem is that regardless of the error it only seens to return the value of $error==4?? there are multiple files being uploaded but i only want to retrn 1 message error 4 if no...
Forum: JavaScript / DHTML / AJAX May 1st, 2009
Replies: 4
Views: 841
Posted By shadiadiph
don't worry i figured it out thanks for the help
Forum: JavaScript / DHTML / AJAX May 1st, 2009
Replies: 4
Views: 841
Posted By shadiadiph
the onchange submit now works but i just tested it like this i changed the name="submit" to name="formSubmit" like you said and just did a test in the heading to get a response from posting using.
...
Forum: JavaScript / DHTML / AJAX May 1st, 2009
Replies: 4
Views: 841
Posted By shadiadiph
awesome thank you this has been puzzling me as my scripting seems fine i guess it must be a browser issue. thanks
Forum: JavaScript / DHTML / AJAX Apr 30th, 2009
Replies: 4
Views: 841
Posted By shadiadiph
I am having problems with this form it has two submit options a button and an onchange instance the onchange just will not work can any one tell me why?

my doc type is

<!DOCTYPE html PUBLIC...
Forum: PHP Apr 15th, 2009
Replies: 3
Views: 565
Posted By shadiadiph
solved already using


$mtotal = "SELECT * FROM mailtbl WHERE mailID='$messageid'";
$mresult = mysql_query($mtotal);
$newsize = 0;
while ($row = mysql_fetch_array($mresult, MYSQL_NUM)) {
...
Forum: PHP Apr 15th, 2009
Replies: 3
Views: 565
Posted By shadiadiph
mm i am trying to find out the value of one row not all of them

i tried this but it doestn't work?


$msize = "SELECT * FROM mailtbl WHERE mailID='$messageid';
$mresult = mysql_query($msize);...
Forum: PHP Apr 15th, 2009
Replies: 3
Views: 565
Posted By shadiadiph
how do i find out the row size in kb? is it possible to automatically insert the size I have a mail table and have the field is there a way of automatically creating the value on insert by resetting...
Forum: JavaScript / DHTML / AJAX Mar 25th, 2009
Replies: 2
Views: 566
Posted By shadiadiph
this seems to work but the new window doesn't resize and none of the attributes are working?


<form name="login" action="secure/checkuser.php" method="post" target="mywindow"...
Forum: PHP Feb 27th, 2009
Replies: 6
Views: 1,048
Posted By shadiadiph
Forum: PHP Feb 27th, 2009
Replies: 6
Views: 1,048
Posted By shadiadiph
Forum: PHP Feb 26th, 2009
Replies: 6
Views: 1,048
Posted By shadiadiph
I am having problems with a data entry issue i have a field in my database which is called headline it is set to varchar 255 when i insert for example something with for eample.


The 'dogs' are...
Forum: PHP Feb 26th, 2009
Replies: 1
Views: 501
Posted By shadiadiph
have you tried assigning variables to each $_POST its easier to track also
GetSQLValueString($_POST['Prep_ID'], "int")); //why do you have 2 )) and one (???
I would approach it like this

$pid =...
Forum: PHP Feb 25th, 2009
Replies: 10
Views: 702
Posted By shadiadiph
worked to a certain extent but had to edit it a bit to get it working
thanks anyway on the $get there was an issue I added this to get it working var dump didn't work started showing all the array...
Forum: PHP Feb 25th, 2009
Replies: 10
Views: 702
Posted By shadiadiph
actually the script doesn't work at all lots of errors
Forum: PHP Feb 25th, 2009
Replies: 4
Views: 1,062
Posted By shadiadiph
i will give it a try thanks
Forum: PHP Feb 25th, 2009
Replies: 10
Views: 702
Posted By shadiadiph
thanks but i think i will give each error a number value then get the number values on the next page less for the header to send accross
Forum: PHP Feb 25th, 2009
Replies: 5
Views: 687
Posted By shadiadiph
yes not sure if it was solved but he said that's good so i guess it solved the problem?? if this is solved pleae mark as solved thanks
Forum: PHP Feb 24th, 2009
Replies: 3
Views: 406
Posted By shadiadiph
are you uploading to a folder tricky question to answer you could try making a loop to upload one at time make the submit page call to itself until the files value return a false value then exit but...
Forum: PHP Feb 24th, 2009
Replies: 10
Views: 702
Posted By shadiadiph
will that not produce just one error at a time?
Forum: PHP Feb 24th, 2009
Replies: 2
Views: 654
Posted By shadiadiph
<?
session_start();
error_reporting(7);
require("connection.php");





$query = "SELECT picturerow,picturetyperow FROM tbladvertdetails";
Forum: PHP Feb 24th, 2009
Replies: 4
Views: 1,062
Posted By shadiadiph
thanks david i will have a look
Forum: PHP Feb 23rd, 2009
Replies: 5
Views: 553
Posted By shadiadiph
you could try this


<?
error_reporting(7);
$subject = $_POST['subject'];
$firstname = $_POST["firstname"];
$lastname = $_POST["lastname"];
$email = $_POST['email'];
$country =...
Forum: PHP Feb 23rd, 2009
Replies: 10
Views: 702
Posted By shadiadiph
can you include arrays[] in header urls?
I have the following but it doesn't work so I am thinking it might not be possible.


$name = strtolower($_POST["name"]);
$name =...
Forum: PHP Feb 23rd, 2009
Replies: 4
Views: 1,062
Posted By shadiadiph
does anyone know of any good resources for php regex for form validation.

I am looking for good regex for

name: (including -.' and no spaces in the first space no doubles of ..''--

phone:...
Forum: PHP Feb 23rd, 2009
Replies: 5
Views: 687
Posted By shadiadiph
seems to be bit all over the place try this


$sql="SELECT * FROM `question`";
$quer=mysql_query($sql);
while($row=mysql_fetch_array($quer)) {

echo ".$row[uniqueid]." ".$row[stem]."<br>";...
Forum: PHP Feb 18th, 2009
Replies: 3
Views: 406
Posted By shadiadiph
that worked a treat thanks
Forum: PHP Feb 18th, 2009
Replies: 3
Views: 406
Posted By shadiadiph
Hi I don't get this it works fine but any file i upload that is over 300kb doesn't get emailed or saved to the server but if i upload two files for example 260kb 290kb they both upload and are both...
Forum: PHP Feb 17th, 2009
Replies: 6
Views: 650
Posted By shadiadiph
i am close to saying EUREKA but unfortunately not. now it sends both the attachments they have the correct file names types in the email but they are all unreadable? jpg gif pdf .doc .txt the .txt...
Forum: PHP Feb 17th, 2009
Replies: 6
Views: 650
Posted By shadiadiph
almost have it working now but its only emailing one file?



foreach ($_FILES["fileatt"]["error"] as $key => $error) {
if ($error == UPLOAD_ERR_OK) {
$fileatt =...
Forum: PHP Feb 17th, 2009
Replies: 6
Views: 650
Posted By shadiadiph
mm tried that didn't work thanks for the suggestion though
Forum: PHP Feb 16th, 2009
Replies: 6
Views: 650
Posted By shadiadiph
of course the php page already has <?php ?> tags and before you ask the html page also has <php> <html> and <body> tags lol

And it doesn't work sends the email fine but doesn't attch the files?
Forum: PHP Feb 16th, 2009
Replies: 6
Views: 650
Posted By shadiadiph
Hi I am having a problem can't seem to get my script working it was working fine with just one file before without the for and $x statements I have added can anyone see why it isn't working please ?...
Forum: PHP Feb 13th, 2009
Replies: 1
Views: 428
Posted By shadiadiph
Is there anywhere I can find a list of dangerous MIME types I have tried Yahoo and Google not much on there?
Forum: PHP Feb 13th, 2009
Replies: 4
Views: 733
Posted By shadiadiph
got it working now with or without attachments but is there anything i can add to this to disallow .exe files being attached?


<?php
ini_set('display_errors', '1');
error_reporting(E_ALL);
...
Forum: PHP Feb 13th, 2009
Replies: 4
Views: 733
Posted By shadiadiph
mm i already have pear on my server but have never used it
but from loooking at this


$mime->addAttachment($file, 'text/plain');


looks like i can only define one type of file attachment...
Showing results 1 to 40 of 78

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC