[url]www.google.com[/url]

I'm looking for suggestions for a Client Intranet script, it would help if anyone heard or used anything for that purpose.

The requirements are as such:
[LIST]
[]Online Proofing/Approval system
[
]Document Repository
[]Bug Tracking
[
]Calendar
[/LIST]

I've googled for this and could not come up with one-fit-all solution, but I'm hoping that someone here can point me to a solution or perhaps a suggestion.

Thanks in advance for your suggestions,
SeNeXoM

I have several Nintendo Wii themed domains for sale...

buy-wii.info
free-wii.info
nintendo-wii-revolution.info
wii-revolution.info
wii-xbox-ps3.info
wiigiveaway.info

Anyone?

I've managed to solve this problem, kind of...

The reason I did not see my background images is because they were not included in the email. There is a setting in Outlook that insted of sending url of the image, it includes it as an attachment, but the background images were not included as attachments for some reason, all i had to do is include them in my email additionally underneath all my content and give them width and height of zero, and set the style display:none.

that did the trick but only works if recieved thru outlook, for me it's ok because this is all internal email and everyone here uses outlook.

I tried sending email with the option of not attaching the image and using absolute path, and that works, except in outlook you have to click to show images, otherwise thy're hidden. :rolleyes:

I'm building an office template in HTML, it contains a very basic HTML that requres a couple background images to tile. For reasons beyone me, as soon as I make the html into a template the background imge propery for my TD looses it's quotation marks and my bg is missing.

Is there a special way to embed those kinds of images into the Office template? and yes I have other, non-background images, which work just fine and are located on a webserver, so it's not a path issue.

any ideas or help would be really appreciated!!!

Oh NO not this again :rolleyes:

What you have there is two separate articles written, admit it with some prejudice against one or the other side. Although the blog has some good points regarding the oracles paper, it tends to over excaudate as well. Neither can be fully trusted end of story!

I'm sorry but how the heck does oracle compare .Net to PHP anyways, they are completely different things apples and oranges if you will. I would consider "classic" ASP to be a subject of such a story, but .NET is on a whole different level.

I've figured it out and just in case someone else is forced to use ASP to process XML...

The code above WORKS on an XML document [U]on the server[/U], but if you are like me and you're trying to read XML document from a [U]response stream[/U] the following code does the trick...

[CODE]set xmlDoc = createObject("MSXML2.DOMDocument")

xmlDoc.async = False
xmlDoc.setProperty "ServerHTTPRequest", true
xmlDoc.load("http://somesite.com/api/xml?action=login&login=jon@doe.com&password=foobar")

response.write xmlDoc.selectSingleNode("//results/status").Attributes.GetNamedItem("code").Text[/CODE]
Cheers!

Jeyadeepa commented: This code is useful to me +0

Hey guys,
I'm having a "great" pleasure of parsing XML in my ASP page, except I can't seem to figure it out what I'm doing wrong. I have tried a bunch of stuff and can't seem to read a simple xml doc. here is what my code looks like...
[CODE]' Create new XML reader object
Dim xmlDoc
Set xmlDoc = Server.CreateObject("Microsoft.XMLDOM")

' Load the specified XML file (returns XML output)
xmlDoc.load("http://somesite.com/api/xml?action=login&login=jon@doe.com&password=foobar")

' Parse XML
if xmlDoc.parseError.errorcode <> 0 then
' oops error in xml
Response.Write("XML Error...<br>")
else
' get xml data
Response.Write(xmlDoc.documentElement.childNodes(0).attributes.getNamedItem("code").nodeValue)
end if[/CODE]

my xml looks like this...
[CODE]<?xml version="1.0" encoding="utf-8"?>
<results>
<status code="value"/>
</results>[/CODE]

and my error is...
[QUOTE]Microsoft VBScript runtime error '800a01a8'

Object required: 'documentElement' [/QUOTE]

This is my first time working with XML in ASP, so it is possible i'm missing something simple, any ideas what's going wrong here?

Thanks

Thanks for your suggestions, but this isn't a solution for me. I work for a design firm and our graphics people print from a wide variety of apps, and i don't think even one of which is written in java.

I was hoping for a way to interface with printer drivers or something of that nature and each time someone prints the drivers would send a command to launch an external app that would just collect simple info before a job would be sent to the printer. The external app would most likely be java based w/ db connection.

if you preffer to keep them private please PM me here, otherwise just post it in the forum, i'm sure that I am not alone with a small budget and need to grow my business.

Thanks!

I'm a webmaster for a dating site and was wondering if anyone has any good marketing ideas. There is a BUT, we have absolutely minimal budget. I'm a realist and I know that little can be done marketing wise w/o funds. I'm not saying that we're not willing to spend money, it's just we don't have any right now. Still want to hear what you have to say about that. Where possible include approx. cost.

Thank

k... I'm not a RexEx guru either but I'm going to give it a shot, [B][COLOR=Blue]bolded blue text[/COLOR][/B] text will be subject of my explanation when regex expressions are used...

your expression [1-9]|1[0-5]

[COLOR=DarkOrange]Scenario A:[/COLOR] [b][COLOR=Blue][1-9][/COLOR][/b][COLOR=SlateGray]|1[0-5][/COLOR] means match any number 1 thru 9, pretty basic
[COLOR=SlateGray][1-9][/COLOR][b][COLOR=Blue][SIZE=3]|[/SIZE][/COLOR][/b][COLOR=SlateGray]1[0-5][/COLOR] is a logical operator [OR]
[COLOR=DarkOrange]Scenario B:[/COLOR][COLOR=SlateGray][1-9]|[/COLOR][b][COLOR=Blue]1[0-5][/COLOR][/b] means any number zero thru five

ok now that we broke it down lets look at what your expression would match...
[COLOR=Blue]1[/COLOR] = match based on scenario A
[COLOR=Blue]2[/COLOR] = match basesed on A
... up to [COLOR=Blue]9 would match[/COLOR]!
[COLOR=Blue]10[/COLOR] = now comes the fun part the [COLOR=Blue]1[/COLOR] would match Scenario A and since there was a match it doesnt evaluate it under scenario B and [COLOR=Blue]0[/COLOR] gets ignored.
[COLOR=Blue]11[/COLOR] = again Scenario A twice and doesn't even get to scenario B

so for it two work you must have it backwards
1[0-5]|[1-9]

and I would even go a step further and make sure the match is not in the middle of a string by adding [b][COLOR=Blue]^[/COLOR][/b] in the begging of the expression to indicate begining of line or a word and [b][COLOR=Blue]$[/COLOR][/b] at the end of the expression to indicated end of line or word, like so...
[b]COLOR=Blue|(^[1-9]$)[/COLOR][/b]

I hope this helps. :cool:

Easy! just this header before before your output (can be HTML formated!)
[PHP]header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // always modified
header("Cache-Control: no-store, no-cache, must-revalidate"); // HTTP/1.1
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache"); // HTTP/1.0
header("Content-type: application/msword");
header('Content-Disposition: attachment; filename="myFileName.doc";');[/PHP]

This post needs to be in the JavaScript forum... But to give you a heads up it has to do with the way your mouseOver and MouseOut methods are done...
[code]
<!-- your code -->
<a href="/store/listCategoriesAndProducts.asp?idCategory=39" onMouseOut="ci('Wild Side','/images/wildside.gif')" onMouseOver="ci('Wild Side','/images/wildSide1.gif')"><img src="/images/wildside.gif" name="sports" width="144" height="22"></a>

<!-- my guess -->
<a href="/store/listCategoriesAndProducts.asp?idCategory=39" onMouseOut="ci('[b]wildside[/b]','/images/wildside.gif')" onMouseOver="ci('[b]wildside[/b]','/images/wildSide1.gif')"><img src="/images/wildside.gif" name="[b]wildside[/b]" width="144" height="22"></a>
[/code]

What you have here is copy and paste problem at least look at the pattern of those buttons man! :lol:

One of the easiest ways of exporting and importing databases is to create a flat file, also known as a CSV. This is basically a database dump formatted as a delimited text file which then can be imported into pretty much any database.

The result you want (creating a .dbf file) via an ASP scrip is a lot more complicated and cumbersome, you would pretty much need to write an application that will generate a binary file containing structure and data in dBaseIII standard. I don't know of any, but perhaps some one might point you to a good export utility, I doubt it would be written in ASP though.

For starters you need troubleshoot your variables...

When my sql is not working properly I like to write it out to screen before it executes to see what are the actual values being passed.

Response.Write(sql) and comment out the
' rs1.Open sql,con1

Also I'm not sure Request("myTextbox") is a proper way of retriving form variables in ASP. I always use Request.Form() or Request.QueryString()

Yep PostBack variable is off limits, use your own variable and check it something like so...

If Page.IsPostBack AND MyVar = True Then
MyVar = False
Else
MyVar = True
End If

I'm not sure if this is a problem you've been having when you say "... It worked initially but something else further down the line didn't work ..."

Be aware that if you set a variable before postback and then check it after postback it will be reset, use Session or ViewState to keep variable values regardless of postback state.

You almost have it, use "Key", or "Value" for datasource assignment and a DataReader to populate values from database query...
[CODE]Dim linkrd = New HashTable()

While reader.Read()
linkrd.Add(reader.GetString(0), reader.GetString(1))
End While

linklist.DataSource = linkrd
linklist.DataTextField = "Value"
linklist.DataValueField = "Key"
linklist.DataBind()[/CODE]

PS: I'm not a VB developer so if I got something mixed up, I'm sure you'll figure it out.

It sounds to me like you could try checking if it's a postback then execute proper code, because Page_Load will execute every time, no matter post back or a regular visit.

[CODE]If Not Page.IsPostBack then
... do something
End If[/CODE]

None of the above...

Scanner cannot be controlled by scripting language like PHP or JavaScript. Scanners rely on drivers in most cases written for a specific operating system which then allow graphical or other input program to interface with those drivers.

In order to have a "custom" applications be able to talk to your scanners, your best bet is to hire some one to write a custom interface that will work with your accounting software and a TWAIN device. TWAIN (Technology Without An Interesting Name) is a standard for getting input from image scanners: an image capture API for Microsoft Windows and Apple Macintosh operating systems.

It's doubtfully that you will fine the solution you seek on this forum.

I'd prefer to stay away from using layers to cover images, mostly because of all the incompatibilities between browsers, but in a pinch I have done some funky stuff with DHTML and CSS though.

Thanks Troy, I'll give it a shot, seems like it's widely supported since HTML 3.2, wierd that I've never used it or even heard of it :o

try changing your line (28) from this...
if (mysql_num_rows($query) = 1) {

to this...
if (mysql_num_rows($query) > 0) {
or if you really need to make sure there is only one record returned ...
if (mysql_num_rows($query) == 1) {

Hey Sean,

You need to begin by learning the proper way of writing HTML, then the php syntax, then working on your logic...

Just so you know no one here is going to write code for you, well I guess I can only speak for my self. But I'll get you started on fixing your problems...

  1. Your HTML is missing a <form></form> tags, which is essential if you want your information to be submitted somewhere.

  2. The user name and password variables will overwrite your actual user name and password submitted from the form since they are named the same. Also look into using $_GET[], $_POST[], $_REQUEST[].
    [PHP]$username = "Admin";
    $password = "Password";[/PHP]

  3. Following line of code is checking if password is not equal to user name. Why would you check if password is the same as user name, makes not sense and has nothing to do with knowledge of PHP, your logic is missing.
    [PHP]if ($username=!$password; ) ...[/PHP]
    Should be something along the lines of ...
    [PHP]if($secretUser==$_POST['username'] && $secretPass==$_POST['password']){
    // let them in...
    } else {
    // display error message...
    }[/PHP]

  4. [PHP]elseif ($username=$password; )[/PHP] First there is not elseif in PHP (that's VB syntax), Second, you must use double == signs when comparing values otherwise you have just assigned the value of $password to the $username.

Get this to work and comeback, there is more then enough references on google regarding what you're doing here. We'll be glad to help you further.

Hi,

Perhaps this thread does not bellong in the PHP forum, but since I'm working with PHP/Apache I'll try here first.

I have setup subdomains on my site and realized that links are not relative to the wwwroot, but relative to subdomain root, I was wondering if anyone knows of a workaround (besides using Absolute URLs) perhaps using Mod_Rewrite (Which I don't know much about).

I was thinking if all else fails create a "config" file for all subdomains with wwwroot variable, but seems like too much work to modify all my pages to include this variable. But then again faster then changing it again if I add/change domain names.

Thanks in advance.

I've found one that works pretty good, but if you have others please post....
[url]http://www.ajquick.com/programming/thumbnail/[/url]

Hey does anyone know of a way to crop images automatically while still focusing on the subject in the photo? I have a gallery of pictures and I would like to make all the thumbnails square shaped, just thought maybe someone knows if there is such a thing as smart crop or something of that nature. Perhaps let the user crop their own photos, how would one go about that w/ php + GD.

Maybe concat syntax error :o

THIS....
echo "<b>Sample</b>:"[COLOR=Red],[/COLOR]$Sample_Views[$num][COLOR=Red],[/COLOR]"</td>\n";

SHOULD BE THIS....
echo "<b>Sample</b>:"[COLOR=Green][B][SIZE=5].[/SIZE][/B][/COLOR]$Sample_Views[$num][COLOR=Green][B][SIZE=5].[/SIZE][/B][/COLOR]"</td>\n";

Also read about PHP's error handling abilities...

[url]http://aspn.activestate.com/ASPN/docs/PHP/features.error-handling.html[/url]