-
Posts
61 -
Joined
-
Last visited
Never
Posts posted by PyraX
-
-
Awesome, thanks phpQuestioner
-
I need a script that allows me to change the values of 3 textboxes when I change a radio button
Thanks in advance
PyraX
-
this doesnt seem to work. I know its initiating the function check_box_count but that it
-
Hi,
does anyone have a script to validate there are at least 5 checkboxes selected. the checkboxes name is checkbox[] if that makes a difference.
Thanks
PyraX
-
yeah change the names of you form fields so the matchup
-
thanks Daukan
I was looking for something a bit more advanced, looks like I will be doing all the custom stuff myself
-
Im having a hard time getting it to appear like it does in Outlook instead of an attachment
This is what the message code looks like, Im having trouble resending it exactly like this:
Return-Path: <email@email.net.au> Received: from mail-gateway-2.giga-sj-001.net (mail-gateway-2.server101.com [10.1.1.7]) by mail-pop3-1.server101.com (8.13.7/8.12. with ESMTP id lA569ehG018915 for <email@launch.server101.com>; Mon, 5 Nov 2007 16:09:40 +1000 Received: from outbound.icp-qv1-irony-out2.iinet.net.au (outbound.icp-qv1-irony-out2.iinet.net.au [203.59.1.107]) by mail-gateway-2.giga-sj-001.net (8.12.11.20060308/8.12. with ESMTP id lA568vWF020654 for <email@email.net.au>; Mon, 5 Nov 2007 16:08:58 +1000 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CAJdBLkd8q9DA/2dsb2JhbAA X-IronPort-AV: E=Sophos;i="4.21,370,1188748800"; d="scan'208,217";a="228274065" Received: from unknown (HELO workstation03) ([124.171.208.192]) by outbound.icp-qv1-irony-out2.iinet.net.au with ESMTP; 05 Nov 2007 15:02:23 +0900 From: "email - email" <email@email.net.au> To: <email@email.net.au> Date: Mon, 5 Nov 2007 16:01:44 +1000 Message-ID: <008601c81f71$6406ec80$2c14c580$@net.au> MIME-Version: 1.0 Content-Type: text/calendar; method=REQUEST; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcgfcVbB8kYr8edERduGC2Jzugiasg== Content-Language: en-au X-scanner2.giga-sj-001.net-MailScanner-Information: Please contact support@giga-sj-001.net for more information X-scanner2.giga-sj-001.net-MailScanner: Found to be clean X-scanner2.giga-sj-001.net-MailScanner-SpamCheck: not spam, SpamAssassin (score=0, required 5, autolearn=disabled) X-MailScanner-2-From: email@email.net.au Subject: this is a meeting BEGIN:VCALENDAR PRODID:-//Microsoft Corporation//Outlook 12.0 MIMEDIR//EN VERSION:2.0 METHOD:REQUEST X-MS-OLK-FORCEINSPECTOROPEN:TRUE BEGIN:VEVENT ATTENDEE;CN=email@email.net.au;RSVP=TRUE:mailto:email@email.net.au CLASS:PUBLIC CREATED:20071105T060142Z DESCRIPTION:When: Wednesday\, 7 November 2007 8:00 AM-8:30 AM (GMT+10:00) B risbane.\nWhere: office\n\n*~*~*~*~*~*~*~*~*~*\n\nThis is the message body \n DTEND:20071106T223000Z DTSTAMP:20071105T060142Z DTSTART:20071106T220000Z LAST-MODIFIED:20071105T060144Z LOCATION:office ORGANIZER;CN="email":mailto:email@email.net.au PRIORITY:5 SEQUENCE:0 SUMMARY;LANGUAGE=en-au:this is a meeting TRANSP:OPAQUE UID:040000008200E00074C5B7101A82E00800000000001F5F28C51FC801000000000000000 010000000C211832623C61E469557413801DE1627 X-ALT-DESC;FMTTYPE=text/html:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//E N">\n<HTML>\n<HEAD>\n<META NAME="Generator" CONTENT="MS Exchange Server ve rsion 08.00.0681.000">\n<TITLE></TITLE>\n</HEAD>\n<BODY>\n<!-- Converted f rom text/rtf format -->\n\n<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calib ri">When: Wednesday\, 7 November 2007 8:00 AM-8:30 AM (GMT+10:00) Brisbane .</FONT></SPAN></P>\n\n<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> Where: office</FONT></SPAN></P>\n\n<P DIR=LTR><SPAN LANG="en-us"><FONT FAC E="Calibri">*~*~*~*~*~*~*~*~*~*</FONT></SPAN></P>\n\n<P DIR=LTR><SPAN LANG ="en-us"><FONT FACE="Calibri">This is the message body</FONT></SPAN><SPAN LANG="en-us"> </SPAN></P>\n\n</BODY>\n</HTML> X-MICROSOFT-CDO-BUSYSTATUS:TENTATIVE X-MICROSOFT-CDO-IMPORTANCE:1 X-MICROSOFT-CDO-INTENDEDSTATUS:BUSY X-MICROSOFT-DISALLOW-COUNTER:FALSE X-MS-OLK-ALLOWEXTERNCHECK:TRUE X-MS-OLK-AUTOSTARTCHECK:FALSE X-MS-OLK-CONFTYPE:0 X-MS-OLK-SENDER;CN="email":mailto:email@email.net .au BEGIN:VALARM TRIGGER:-PT15M ACTION:DISPLAY DESCRIPTION:Reminder END:VALARM END:VEVENT END:VCALENDAR
(edited by kenrbnsn to put in
tags)
-
Hi, I have searched for but have been unable to find a semi advance search script for searching a database.
Im after simple things like "keyword" and -keyword etc.
Thanks in advance
PyraX
-
I hope somone can help im trying to create a file in any laguage (asp, php...) that will allow me to send a meeting request to users on outlook and entourage from my company intranet
The idea is that people can insert information and someone else will select who is taking part then the meeting request will be sent to the persons email inbox so they can accpet the meeting.
Any feedback would be good.
Thanks
Mike
-
Your not making any sense...
-
Had a similar problem.
Its where the strstr is how you scan the resulting page to find if it succedded
-
Hello,
I need to convert uploaded .doc files into a searchable text string. What can I possible do make this work??
Thanks so much in advance
-
May I ask why?
-
Hi,
I need help finding a script that I can use on a shared hosting server that converts docx to text
Thanks in advance.
-
Thanks Madtechie,
Know of any already written parser for .doc?
-
Hi,
I am looking for a script that turns .doc, .rtf, .docx into searchable text that can be stored in a database.
How can this be done.
Thanks in advance
PyraX
-
mysql_fetch_field
-
Hi,
Im using scaffolding and I need to change the order of my columns. What programs or how do I do this.
Thanks in advance.
PyraX
-
Hi,
Im trying to make some scaffolding with mysql and I need to know how to tell if a mysql field is a date/datetime/text/varchar etc.
<?php ?> <link href="cms.css" rel="stylesheet" type="text/css" /> <?php class Scaffold { var $table = ""; function Scaffold($table){ $this->table = $table; $connection = mysql_connect("localhost", "ir", "ir"); mysql_select_db("test", $connection); switch($_GET["action"]){ default: $this->listtable(); break; case "list": $this->listtable(); break; case "new": $this->newrow(); break; case "postnew": $this->postnew(); break; case "edit": $this->editrow(); break; case "postedit": $this->postedit(); break; case "delete": $this->deleterow(); break; } } function listtable(){ $select = mysql_query("SELECT * FROM ".$this->table); $i = 0; echo "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" class=\"cmstable\">"; echo "<tr>"; while($i < mysql_num_fields($select)){ $column = mysql_fetch_field($select, $i); $column->name = str_replace("_"," ",$column->name); if($column->name != "id"){ echo "<td><b>".$column->name."</b></td>"; } $i++; } echo "</tr>"; while($array = mysql_fetch_array($select)){ echo "<tr>"; foreach($array as $column => $value){ if(!is_int($column) && $column != "id"){ echo "<td>$value</td>"; } } ?> <td><a href="?action=edit&id=<?=$array[0]?>">Edit</a> <a href="?action=delete&id=<?=$array[0]?>">Delete</a></td> <? echo "</tr>"; } echo "</table>"; echo "<a href='?action=new'>New Row</a>"; } function newrow(){ include("fckeditor/fckeditor.php"); $select = mysql_query("SELECT * FROM ".$this->table); $i = 0; echo "<form action='?action=postnew' method='POST'><table>"; while($i < mysql_num_fields($select)){ $column = mysql_fetch_field($select); $column->name = str_replace("_"," ",$column->name); if($column->name != "id"){ print_r($column); if($column->blob == 1){ echo "<tr><td><b>$column->name:</b></td><td> <textarea name='$column->name'></textarea></td></tr>"; /* echo "<tr><td><b>$column->name:</b></td><td>"; $oFCKeditor = new FCKeditor('$column->name'); $oFCKeditor->BasePath = 'http://localhost:81/scaf2/fckeditor/'; $oFCKeditor->Value = 'Default text in editor'; $oFCKeditor->ToolbarSet = 'Basic'; $oFCKeditor->Create(); echo "</td></tr>"; */ } else if($column->date == 1){ echo "<tr><td>$column->name:</td><td> <input type='text' name='$column->name' /></td></tr>"; }else{ echo "<tr><td><b>$column->name:</b></td><td> <input type='text' name='$column->name' /></td></tr>"; } } $i++; } echo "<tr><td colspan=2><input type='submit' value='Add Row' /></td></tr>"; echo "</table></form>"; } function postnew(){ $select = mysql_query("SELECT * FROM ".$this->table); $insert = "INSERT INTO ".$this->table." VALUES('', "; $i = mysql_num_fields($select); $i--; foreach($_POST as $key => $value){ $i--; if($i > 0){ $insert .= "'".$value."', "; } else { $insert .= "'".$value."')"; } } mysql_query($insert) or die(mysql_error()); echo "Added row.<br />"; echo "<a href='?action=list'>Back To Listing</a>"; } function editrow(){ $fields = mysql_query("SELECT * FROM ".$this->table) or die(mysql_error()); $select = mysql_query("SELECT * FROM ".$this->table." WHERE id = ".$_GET["id"]) or die(mysql_error()); $row = mysql_fetch_row($select); $i = 0; echo "<form action='?action=postedit&id=".$_GET["id"]."' method='POST'><table>"; while($i < mysql_num_fields($fields)){ $field = mysql_fetch_field($fields); $field->name = str_replace("_"," ",$field->name); if($field->name != "id"){ if($field->blob == 1){ echo "<tr><td><b>$field->name:</b></td><td> <textarea name='$field->name'>".$row[$i]."</textarea></td></tr>"; } else { echo "<tr><td><b>$field->name:</b></td><td> <input type='text' name='$field->name' value='".$row[$i]."' /></td></tr>"; } } $i++; } echo "<tr><td colspan=2><input type='submit' value='Edit Row' /></td></tr>"; echo "</table></form>"; } function postedit(){ $select = mysql_query("SELECT * FROM ".$this->table." WHERE id = ".$_GET['id']); $num = mysql_num_fields($select); $update = "UPDATE ".$this->table." SET "; $i = 1; while($i <= $num){ $column = mysql_fetch_field($select); if($column->name != "id"){ if($i != $num){ $update .= $column->name." = '".$_POST["$column->name"]."', "; } else { $update .= $column->name." = '".$_POST["$column->name"]."' WHERE id = ".$_GET['id']; } } $i++; } mysql_query($update) or die(mysql_error()); echo "Edited row.<br />"; echo "<a href='?action=list'>Back To Listing</a>"; } function deleterow(){ mysql_query("DELETE FROM ".$this->table." WHERE id = ".$_GET["id"]) or die(mysql_error()); echo "Annihilated row.<br />"; echo "<a href='?action=list'>Back To Listing</a>"; } } ?>
Thanks in advance
PyraX
-
Hi,
Does anyone know how to submit a file with CURL?
Thanks,
PyraX
-
Hi,
Im looking for an uploader with a progress bar for files around 50mb.
What can I use?
Thanks in advance,
PyraX
-
Hi,
I need a script that allows a selection from a dropdown with 14 options to make a form in <div> tags visible and the rest hidden.
Thanks in advance
PyraX
-
Hi,
Im looking for a solution for that will allow me to submit a form on a remote website that will send a file. The only think i know of that can do this is curl.
I also need to grab the randomised image from the first site and submit the verification text.
Thanks in advance.
PyraX
-
Those funky images that make sure your not a robot
recurring MONTHLY dates
in PHP Coding Help
Posted
Hi Guys,
I need a script that triggers at a certain time on the same day each month (ie. 12th) and also weely (ie. every 7 days/thursday).
There will be a cron job checking it minutely.
Once triggered it adds an entry into a seperate database then matches up against it to prevent dupes and misses.
Thanks in Advance,
PyraX