- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
14 Posted Topics
Hi all. I have a PHP script that reads my email inbox via POP3. I'm using the PHP IMAP extention. I can already access the "From" and "To" fields. What i'm having trouble with is accessing the Cc field. I need to read/count/summarize all the email addresses and draw up … | |
Hi. I'm still a newbie on apache/linux, so I'm hoping that my problem is relatively easy for more experienced people to solve. I have 4 folders, each containing an .htaccess file to restrict access to the PDF files they contain. My problem is that whenever I edit the content of … | |
Hi everyone, I'm running a linux server (centos 6.4) with cpanel. Cpanel sent me an email saying: "IMPORTANT: Do not ignore this email. Your hostname (hostnamegoeshere) could not be resolved to an IP address..." When I ping "hostnamegoeshere" it does work. It shows successfull pings of the IP address. So, … | |
Re: Here is one way to go about this: You'll need a php script, e.g."image.php", that will pretent to be a jpg/png or other image file. So you'll end up with html like this <img src='image.php' /> The code in "image.php" will be something like this: //VERY IMPORTANT: The first line … | |
In my MySQL database I have my regular tables, and a couple of VIEWS. Everything runs like clockwork, until I remove Remote Access to the database. I cannot access any of my VIEWS. Accessing any regular tables still work 100%. The thing is, the PHP script accessing the VIEW is … | |
Re: Hi, the line of code you have pasted seems to be correct. Maybe your Shopping-cart-url.html is not where php is looking for it, or maybe the problem is somewhere else in your code. I can only suggest that you look at the error message (if there are any) for some … | |
Hi all. I have a database table containing the details of, lets say, Ninjas. It has a primary key called NinjaID. I have a second table containing a match-up of which Ninjas will be fighting eachother. This table has 4 Columns: 1.) MatchID 2.) BlueCornerNinjaID 3.) RedCornerNinjaID 4.) DateTime What … | |
Re: Hello, You cannot use the header() function after you have already displayed some information to the page. You are displaying tons of info, and only after that are you using the header function(). If you want to use the header() function, you must do it before you display any output, … | |
Re: Hello Espenij, It looks like the problem is with the $eff varaible. You have not assigned a value to this variable, and PHP is complaining about that. You can't echo something that doesn't exist. You can first check to see if exists or not. If it does, then you echo … | |
Re: You can have a look at PHP's GD library and search for some example on how to draw text onto an image. I don't know much about the GD library, but I'm 100% that it can probably draw some text and lines onto an image. Or you can just use … | |
I'm having some difficulty trying to figure out how to write a certain query. The very basics are that I have two relevant tables: `containers` and `items`. `containers` have the fields: ContainerID, ContainerName, and ContentType. `items` have the fields: ItemID, ItemName, and ContainerID. The easy part of the query is … | |
Re: Do you change the values manually in a text editor, or do you have an application that automatically opens and edits the CSS file, or do you only change the values in memory to change the way the browser displays something. Please give us an example | |
Re: Maybe the contents of one of the cells is not a number. Or maybe it is a number, but also contains a comma or some non-numerical character. On which line exactly does the error occur? | |
Re: It should be something along the lines of this: [CODE] Dim connectionString As String = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=D:\NorthWind.mdb" Dim dbConnection As System.Data.OleDb.OleDbConnection = New System.Data.OleDb.OleDbConnection(connectionString) dbConnection.open() For Each DR In DS.Tables(0).Rows Dim queryString As String = "INSERT INTO table_name (Field1, Field2, Field3, Field4) VALUES ('" & DR.Item(0) & "', '" … |
The End.