Upload File using decode in SQL Region...Help
I am trying to allow a user to see the file names of files attached to a row (ex., training certificates for training taken). If there is no training certificate attached, "None (Upload Certificate)" is shown in that column as html. I want the user to be able to upload the certificate, by clicking on that html. I'm getting "Error ERR-1002 Unable to find item ID for item "TRAINING_ID" in application "113". ", when clicking on the link.
Here is my code:
select
A.TRAINING_ID,
A.TRAINING_ID TRAINING_ID_DISPLAY,
A.PERSONNEL_ID,
A.COURSE_ID,
A.DATE_COMPLETED,
A.CERTIFICATE_ID,
B.IMAGE_ID,
decode(b.filename, null, htf.anchor('f?p=113:1090:'||:APP_SESSION||'::NO::PERSONNEL_ID,TRAINING_ID:'||A.PERSONNEL_ID||'%2C'||A.TRAINING_ID, 'None (Upload Certificate)'),
''||&B.FILENAME||'') as cert_file_name,
B.IMAGE_ID DELETE_CERTIFICATE
from TRAINING A, EASY_IMAGE B
WHERE A.PERSONNEL_ID = :P2_PERSONNEL_ID
AND (A.PERSONNEL_ID = B.PERSONNEL_ID (+)
AND A.TRAINING_ID = B.TRAINING_ID (+))
The only thing that doesn't seem to be working correctly, is when the filename is null, the parameter's being passed and calling of the upload form. I've tested this in another app, but not being passed in the SQL Region and in both cases the status line at the bottom match for the call, when passing the mouse over the link. One works fine , but the decoded one gives me the error above.
Any Help/Direction would be GREATLY Appreciated.
Thanks in Advance!
Juanita Layne
We Got it......
We changed the decode to this..
decode(b.filename, null, htf.anchor('https://rockhopper.hqcnsg.navy.mil/apex/f?p=102:1090:&SESSION.::NO::PERSONNEL_ID,TRAINING_ID:'||A.PERSONNEL_ID||','||A.TRAINING_ID||':','None (Upload Certificate)'), ''||&B.FILENAME||'') as cert_file_name,
and our 2 items
PERSONNEL_ID and TRAINING_ID were setup as Database Items. We changed them to Static Assignments and passed #PERSONNEL_ID# and #TRAINING_ID# to those items respectively. It worked perfectly after that.
Maybe that will help someone else.
Thanks,
Juanita
Similar Messages
-
How to upload file using *cl_gui_frontend_services* method
hi
i want to upload an image file using this method
and i want to save it in MIME Repository (/SAP/BC/BSP/SAP/PRASHANT)
DATA:
itab TYPE TABLE OF sflight.
CALL METHOD cl_gui_frontend_services=>gui_upload
EXPORTING
filename = 'C:\temp\winter.jpg'
filetype = 'ASC'
has_field_separator = '|'
CHANGING
data_tab = itab
IF sy-subrc = 0.
WRITE:/ 'success'.
ENDIF.
So plz tel me how i set given path to upload file using this method .Hi Prashant,
Go through the [Link|https://forums.sdn.sap.com/click.jspa?searchID=24477690&messageID=6684222].
Hope this is helpful.
Regards,
Abhinav -
Maximum size of upload file using Cross Domain Library
Hi All
I need to know what is the maximum size of file that I can upload using Cross Domain Library from my Provider hosted app. I know that in msdn it is written that usign REST call we can upload upto 2GB but I have doubts if it is true with Cross domain library
REST Calls. Please suggest.
spExecutor.executeAsync(
url: fileCollectionEndpoint,
method: "POST",
contentType: "application/json;odata=verbose",
body: filedata,
binaryStringRequestBody: true,
headers: { "X-RequestDigest": $("#__REQUESTDIGEST").val(), "accept": "application/json;odata=verbose" ........
And Can I pass ArrayBuffer directly or I need to pass only binary string ?
Thanks in AdvanceHi,
According to your post, my understanding is that you want to know the Maximum size of upload file using Cross Domain Library.
Per my knowledge, you can upload files up to 2 GB with the REST API.
You can refer to:
How to: Upload a file by using the REST API and jQuery
In addition, you can pass ArrayBuffer directly. Please refer to:
FileCollection methods
Thanks,
Linda Li
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Linda Li
TechNet Community Support -
how is posible upload files using a browser (IE5) to BD ?
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by JuanCarlos HorrachCampins (jchorrach@globalia:
how is posible upload files using a browser (IE5) to BD ?<HR></BLOCKQUOTE>
The Form enctype=multipart/formdata and input type=file parameters are needed along with method=post.
You then need a servlet(or MS PostingAcceptor) on the server side to read/store it. The Post data is in multiple parts with the parms on separate lines..
Here is sample HTML Form:
<HTML>
<BODY>
<H2>Uplaod test </H2>
<form enctype="multipart/form-data" action="/examples/servlet/MultipartForm"
METHOD="POST"
NAME="UploadFileForm"
LANGUAGE="JavaScript"
onSubmit="if (!validateForm(document.UploadFileForm))
alert ('Please enter a fileName.');
document.UploadFileForm.my_file.select();
return false;
}">
<input type="text" name="TargetURL" value="/uploads">
<input type="text" name="submitter" value="me">
<FIELDSET> <legend> FileUpload</legend>
<BR>
<table>
<tr>
<td align="left">Fully qualified Filename to upload:</td>
</tr>
<tr>
<td align="left"><input name="file" type="file" size="50"></td>
</tr>
<tr>
<td align="left"><input type="Submit" value="Upload File"></td>
</tr>
<table>
</FIELDSET>
</form>
<SCRIPT LANGUAGE="JavaScript">
// Begin client side helper functions
function validateForm(form)
if (isEmpty(form.file)) return false;
return true;
function isEmpty(textcontrol)
str = textcontrol.value
for (i = 0; i < str.length; i++)
chr = str.substring(i, i + 1);
if (chr != ' ')
return false;
return true;
</SCRIPT>
</BODY>
</HEAD>
null -
How to load decimal values into a file using bcp in SQL Server 2000?
Hi everyone,
I'm trying to load data from a database table to a text file using bcp on SQL Server 2000. When I'm loading the decimal values, the values before the decimal are not being loaded into the file. How could I load the values before decimals?
Here are the DDLs and DMLs of what I'm trying to run:
CREATE TABLE [dbo].[Product_Sales](
[Year_of_Sale] [smallint] NOT NULL,
[Product_Type] [varchar](25) NOT NULL,
[Product_Group] [varchar](25) NOT NULL,
[Category_Type] [varchar](25) NOT NULL,
[Category_Group] [varchar](10) NOT NULL,
[Product_Count] [bigint] NOT NULL,
[Product_Amount] [decimal](19, 2) NOT NULL,
[Category_Count] [bigint] NOT NULL,
[Category_Amount] [decimal](19, 2) NOT NULL,
CONSTRAINT [PK_Product_Sales] PRIMARY KEY CLUSTERED
[Year_of_Sale] ASC,
[Product_Type] ASC,
[Product_Group] ASC,
[Category_Type] ASC,
[Category_Group] ASC
) ON [PRIMARY]
) ON [PRIMARY]
INSERT INTO [Yearly_Sales].[dbo].[Product_Sales]
VALUES(2010, 'Online', 'Web', 'Cameras', 'Electronics', 547, 0.00, 0, 0.00)
EXEC [master].[dbo].[xp_cmdshell] 'bcp "SELECT * FROM [Yearly_Sales].[dbo].[Product_Sales]" queryout D:\Yearly_Sales\Product_Sales.dat -c -T -S'
And the output I see in the file is:
2010 Online Web Cameras Electronics 547 .00 0 .00
The values before decimals are being truncated.
Thanks,
Bangaaram
Known is a DROP, Unknown is an OCEAN.You can modify the decimal column(s) in the table to varchar type before export. But it does not look good.
alter table [dbo].[Product_Sales]
Alter column [Product_Amount] varchar(20)
alter table [dbo].[Product_Sales]
Alter column [Category_Amount] varchar(20)
Does that make any sense?
Known is a DROP, Unknown is an OCEAN.
Basically you modify the decimal column to a varchar type before you run the bcp command for export. You can modify your source table or you can modify them on the fly. It is just a workaround.
Modifying the source wouldn't be a good idea. Never do that if you can't get your desired output.
Known is a DROP, Unknown is an OCEAN. -
How to write a file using mod pl/sql
hi,
i am having a submit button in my procedure. which should inturn create .sql file in a file path.
is there any way to create a fileusing htp and htf methods.
Thanks in advance
Hari>
i am having a submit button in my procedure. which should in turn create .sql file in a file path.
is there any way to create a file using htp and htf methods.
>
Why are you wasting your time coding from scratch using the PL/SQL Web Toolkit instead of the APEX framework?
From Re: how to write a file using mod pl/sql it appears that you are not using APEX, so a number of the approaches APEX offers are not relevant. You appear to be looking for a file download solution using the <tt>wpg_docload.download_file</tt> method, such as:
create or replace procedure download_file (
p_filename in varchar2
, p_mimetype in varchar2
, p_content in out nocopy blob)
is
begin
-- Set up HTTP header.
-- Use "application/octet" as default MIME type.
owa_util.mime_header(nvl(p_mimetype, 'application/octet'), false);
-- Set the size so the browser knows how much to download.
htp.p('Content-length: ' || dbms_lob.getlength(p_content));
-- Filename will be used as default by the browser in "Save as..."
htp.p('Content-Disposition: attachment; filename="' || p_filename || '"');
-- Close header.
owa_util.http_header_close();
-- Stream the file content to the browser.
wpg_docload.download_file(p_content);
end download_file; -
I have a field of File Type in my Entity. How can I upload file using WCF API?
I tried to create a new Entity Member and added the following attribute in the member attributes collection
Attribute att = new Attribute();
att.Identifier = new Identifier();
att.Identifier.Name = "Image";
att.Value = bytes;
In attribute value I tried to pass the bytes array of an image, also tried Encoding.ASCII.GetString(bytes); as attribute value, but none of them works.
With byte array i get the following exception "Conversion failed when converting the nvarchar value 'System.Byte[]' to data type int." and in case of ASCII string i get "A database error has occurred. Contact your system administrator." error.
There is lack of documentation and samples.
Please let me know if someone tried it out.
Thanks!You need to use the EntityMemberAttributesGet operation to retrieve the contents of a file attribute. EntityMembersGet is designed to retrieve a collection of many members and therefore it would not make sense to retrieve every file for every row retrieved.
In contrast, EntityMemberAttributesGet is designed to work with a single member and specific attributes of that member, and it was designed to retrieve the file content.
Val Lovicz
http://www.profisee.com
[email protected]
As the original creators of Microsoft MDS, Profisee's Master Data Maestro provides a range of enterprise-grade functionality to ensure MDS project success. -
Create Fiat File Using Trigger in SQL Server
Dear All,
How to Create a Flat File using Trigger in SQL Server?Take a look at osql/sqlcmd, bcp, COM calls, xp_cmdshell, etc. Here are a few links with code examples:
https://www.simple-talk.com/sql/t-sql-programming/reading-and-writing-files-in-sql-server-using-t-sql/
http://www.nigelrivett.net/SQLTsql/WriteTextFile.html
http://stackoverflow.com/questions/8132663/creating-a-text-file-on-local-machine-using-sql-server-2008
Best Regards,Uri Dimant SQL Server MVP,
http://sqlblog.com/blogs/uri_dimant/
MS SQL optimization: MS SQL Development and Optimization
MS SQL Consulting:
Large scale of database and data cleansing
Remote DBA Services:
Improves MS SQL Database Performance
SQL Server Integration Services:
Business Intelligence -
Uploading Files Using InputFile Component -- Sometimes not working
Hello,
This is the 2nd time I make a post about it!
Because I have more than 1 application using upload, and everything is correct! But it doesn't work as it should!
You can check the original post here: Uploading Files Using InputFile Component - Sometimes not working
I need a solution please!
The only thing we can conclude is that it could be a bug from oracle !!! (???) But I talked with other people and they say that it works fine for them.
There is one important thing: when we put a form to "Uses Upload = true" it seems that the page doesn't work very normal. For exemple: if you use a table in a form that uses upload the table get's "crazy".
Thanks,
JPI have now access to METALINK!
I can find some problems and patches about inputFile but not mine! I will check better later!
I think the problem is caused because of my framework! -
I am attempting to upload files using the zend _file_transfer system from cs5 training from the source.
On trying to upload to a remote server I am having trouble with the destination setting (C:/upload_test) in the example, please could you point me in the right direction for the an example of this setting for a remote file transfer
Also do I have to construct a connection file to activate a Ftp file transfer?
David Woolston>I am on windows platform
Who is your host? When you checked your host path in your host control panel, what did it say?
>i have assumed (may be incorrectly) that the purpose of the exercise was to upload to a remote site (ie my website)
That is correct.
>Of course that upload might take place on a computer that does not have DW installed (an internet cafe for example)
That's irrelevant. DW is just the tool you are using to build your site. The site runs on your hosting accounts servers. This includes the php scripts you are working with.
>I have uploaded all files necessary for the operation, when i click upload it returns no such directory exits.
Do you have a url we can check? What destination are you specifying in zend code?
>This made me suspect that I would need to construct a ftp file transfer connection file to satisfied username, password , connection address etc
The exercise you are dealing with is using http file transfer. This has nothing to do with FTP. You do not need FTP for this, other than using it to move your source code from your local client to your server. -
Help!!! Upload Files using Applet.
I've built an upload application using html tag <input type="file" ...>. Both client and server's programs have been finished for a long time. However, my boss want to use applet replace html tag(due to some reasons). I want to build an applet which allow user to select multiple files and then upload. But I don't want to modify the server side program. May anyone teach me on how to upload the files which generate the page which is the same as the HTTP request? Thanks a lot.
No. You could sign the applet for granting the permission. Could anyone tell me how to generate the http request with contents and file inside?
-
Unable to see the uploaded file using gos object
Hi Experts,
I uploaded the file to server by using the below code. But I am unable to see the uploaded file. Please help me out hot to view the uploaded files (list the file name and view the content) (i want to upload the file by getting the url as input and by clicking the button)
Code to upload the file.
DATA: wa_zqtc_gos_request TYPE zqtc_gos_request.
DATA: l_attachment TYPE swo_typeid.
DATA: lo_gos_service TYPE REF TO cl_gos_document_service.
obj-objkey = req_num.
obj-objtype = objtype.
CREATE OBJECT lo_gos_service.
CALL METHOD lo_gos_service->create_attachment
EXPORTING
is_object = obj
IMPORTING
ep_attachment = l_attachment.
I tyied with this to view the files but the attachement link is disabled. (i want to view the files by clicking the icon-GOS icon in tool bar)
DATA: wa_zqtc_gos_request TYPE zqtc_gos_request.
DATA: l_attachment TYPE swo_typeid.
DATA: lo_gos_service TYPE REF TO cl_gos_document_service.
obj-objtype = objtype.
obj-objkey = req_num.
CREATE OBJECT manager
EXPORTING
is_object = obj
EXCEPTIONS
OTHERS = 1.
Please help me out how to view the file and list.
thanks & regards
T.Tamodarane
Edited by: T.Tamodarane on Oct 23, 2009 9:55 AM
Edited by: T.Tamodarane on Oct 23, 2009 9:56 AMHi,
Please post ur thred below:
PL/SQL
Regards
Meher Irk -
How to read a spread sheet ( .xls ) file using a pl/sql procedure or func
Hello All,
Is it possible to read a spread sheet using Oracle pl.sql .
I know their is a util package that is read a file but how to read a spread sheet ... ?
thanks
kumarhi kumar,
Here is an example of how i read an excel file
DECLARE
l_start_file_name varchar2(50) := 'invoice_excel_c';
l_end_file_name varchar2(50) := '.csv';
l_file_name varchar2(100);
l_sql varchar(32767);
refresh_cdc varchar2(5) := '00304';
begin
l_file_name := l_start_file_name||REFRESH_CDC||l_end_file_name;
l_sql :=
'create table exter_invoice_excel '||
'( '||
'Product_name varchar2(255), '||
'Net_Sales Number, '||
'Net_Adjustments Number, '||
'Cancels_Count Number, '||
'Cancels_Amount Number, '||
'Cashes_Count Number, '||
'Cashes_Amount Number, '||
'Claims_Count Number, '||
'Claims_Amount Number, '||
'Returns_Count Number, '||
'Returns_Amount Number, '||
'Free_Prize_Count Number, '||
'Free_Prize_Amount Number, '||
'Free_Promo_Count Number, '||
'Free_Promo_Amount Number, '||
'Promo_Credit_Count Number, '||
'Promo_Credit_Amount Number, '||
'Return_Commission Number, '||
'Net_Discounts Number, '||
'Total_Fees Number, '||
'Sales_Commission Number, '||
'Cash_Commission Number, '||
'Tkt_Charge Number, '||
'Subscription_Commission Number, '||
'Interim_Sweeps Number, '||
'Net_Due Number, '||
'Retailer_id Number, '||
'Retailer_Name varchar2(255) '||
') '||
'ORGANIZATION EXTERNAL ( '||
' TYPE oracle_loader '||
' DEFAULT DIRECTORY GTECHFILES '||
' ACCESS PARAMETERS ( '||
' RECORDS DELIMITED BY NEWLINE '||
' CHARACTERSET WE8MSWIN1252 '||
' BADFILE ''invoice_excel.bad'' '||
' DISCARDFILE ''invoice_excel.dis'' '||
' LOGFILE ''invoice_excel.log'' '||
' FIELDS TERMINATED BY '','' RTRIM '||
' MISSING FIELD VALUES ARE NULL '||
' ) '||
' LOCATION ('''||l_file_name||''') '||
' ) '||
'PARALLEL '||
'REJECT LIMIT UNLIMITED ';
execute immediate l_sql;
l_sql:= 'INSERT INTO INVOICE_EXCEL_TEMP '||
' ( Product_name , '||
' Net_Sales , '||
' Net_Adjustments , '||
' Cancels_Count , '||
' Cancels_Amount , '||
' Cashes_Count , '||
' Cashes_Amount , '||
' Claims_Count , '||
' Claims_Amount , '||
' Returns_Count , '||
' Returns_Amount , '||
' Free_Prize_Count , '||
' Free_Prize_Amount , '||
' Free_Promo_Count , '||
' Free_Promo_Amount , '||
' Promo_Credit_Count , '||
' Promo_Credit_Amount , '||
' Return_Commission , '||
' Net_Discounts , '||
' Total_Fees , '||
' Sales_Commission , '||
' Cash_Commission , '||
' Tkt_Charge , '||
' Subscription_Commission , '||
' Interim_Sweeps , '||
' Net_Due , '||
' Retailer_id , '||
' Retailer_Name , '||
' SOURCE , '||
' INSERTED_DATE , '||
' CDC , '||
' UPLOADED '||
') '||
' select '||
' ltrim(rtrim(product_name)) , '||
' Net_Sales , '||
' Net_Adjustments , '||
' Cancels_Count , '||
' Cancels_Amount , '||
' Cashes_Count , '||
' Cashes_Amount , '||
' Claims_Count , '||
' Claims_Amount , '||
' Returns_Count , '||
' Returns_Amount , '||
' Free_Prize_Count , '||
' Free_Prize_Amount , '||
' Free_Promo_Count , '||
' Free_Promo_Amount , '||
' Promo_Credit_Count , '||
' Promo_Credit_Amount , '||
' Return_Commission , '||
' Net_Discounts , '||
' Total_Fees , '||
' Sales_Commission , '||
' Cash_Commission , '||
' Tkt_Charge , '||
' Subscription_Commission , '||
' Interim_Sweeps , '||
' Net_Due , '||
' Retailer_id , '||
' Retailer_Name , '||
' '''||l_file_name ||''', '||
' sysdate , '||
' '''|| REFRESH_CDC ||''', '||
'''N''' ||
'FROM '||
'exter_invoice_excel '||
'WHERE retailer_id is not null and ltrim(rtrim(product_name)) in (''Loto'',''Inst Tk'')';
execute immediate l_sql;
l_sql :='drop table exter_invoice_excel';
execute immediate l_sql;
exception
when others then
rollback;
l_sql :='drop table exter_invoice_excel';
execute immediate l_sql;
debug_message('INVOICE_EXCEL_UPLOAD/'||REFRESH_CDC,'Unexpected Error '||sqlerrm);
END;
--truncate table invoice_excel_tempjust go through the code, it would help u for sure
cheers -
Uploading file using OAS 4.0.8.1
I am trying to upload files with an application using OAS 4.0.8.1 in
linux (kernel 2.2.14). I am sure that all the environment are
correct installed and my application wait forever.
I'm using PL/SQL catrige.
My database doesn't have any invalid objects.
If somebody can help me, please.
Thank you !
nullSome weeks ago I wanted to get to work it too. Without any success. It seems that file is going to server because of high traffic but I could not find any storage changes in the server even uploading large files. So I came to solution to use a PERL cgi script which stores file on the server filesystem and then passes filename and other attributes to a plsql procedure to save file attributes in tables. If you are interested in this script mail directly ([email protected]) or search for an example in http://cgi.resourceindex.com/
-
Uploading files using OAS on linux
I am trying to upload files with an application using OAS 4.0.8.1 in linux (kernel 2.2.14). I am sure that all the environment are correct installed and my application wait forever.
I'm using PL/SQL catrige.
When I look to the database I retrive the following information:
SQL> select address,sql_text from v$open_cursor;
ADDRESS SQL_TEXT
216FAA6C begin sys.dbms_describe.describe_procedure(:object_name,:res
216A3C84 select address,sql_text from v$open_cursor
21841F74 INSERT INTO WEBSYS.OWS_CONTENT VALUES ( WEBSYS.OWS_SEQUENCE.
2183141C SELECT * FROM WEBSYS.OWS_ATTRIBUTES WHERE OID = :b1
21839DC4 INSERT INTO WEBSYS.OWS_OBJECT_VIEW VALUES ( :b1,:b2,:b3,WEBS
21831234 INSERT INTO WEBSYS.OWS_ATTRIBUTES VALUES ( :b1,:b2,:b3,:b4
21831540 SELECT * FROM WEBSYS.OWS_FIXED_ATTRIB WHERE OID = :b1
21831788 SELECT * FROM WEBSYS.OWS_OBJECT_VIEW WHERE OID = :b1
216EE1A4 SELECT STATUS FROM OBJ$ WHERE OBJ# = :b1
21831664 SELECT LENGTH FROM WEBSYS.OWS_CONTENT WHERE OID = :b1
216B00AC begin :1 := websys.ows_cs.set_attribute(:2, :3, :4, :5
218322F4 INSERT INTO WEBSYS.OWS_FIXED_ATTRIB VALUES ( WEBSYS.OWS_SEQU
21839CA0 SELECT WEBSYS.OWS_SEQUENCE.CURRVAL FROM DUAL
216EE5B0 SELECT ARGUMENT,OVERLOAD#,POSITION# POSITION,TYPE# TYPE,NVL(
14 rows selected.
SQL> SELECT SQL_ADDRESS FROM V$SESSION WHERE SID='7'; ( the last command of the user of DAD )
SQL_ADDR
216B00AC
My database doesn't have any invalid objects.
If somebody can help me, please.
Thank you !David,
Thanks for the reply. I neglected to mention that file upload do work on the server, it's just the Zend FW implementation that doesn't. The Zend FW is basically what is in your book, and nothing happens when I try an upload, but I know that the code is talking to the FW (e.g., if I provide an invalid path, I get the appropraite PHP error). If I don't use the FW it works. So the following code correctly uploads a file on the hosting platform:
if ($_POST['send']) {
//validate the user input
$val = new Zend_Validate_Alnum(TRUE);
if (!$val->isValid($_POST['name'])) {
$errors['name'] = 'Name is required';
$val = new Zend_Validate_EmailAddress();
if (!$val->isValid($_POST['email'])) {
$errors['email'] = 'Email address is required';
$val = new Zend_Validate_StringLength(10);
if (!$val->isValid($_POST['message'])) {
$errors['message'] = 'Required';
if (!$errors) {
foreach($_FILES as $temp_name => $file_array) {
$file_name = str_replace(" ","_",$file_array["name"]);
if (is_uploaded_file($file_array["tmp_name"])) {
move_uploaded_file($file_array["tmp_name"], "$file_dir/".$file_name) or die ("Couldn't copy");
$new_names[] = $file_name;
//start building the mail string
$msg = "Name:\n\t\t".$_POST["name"]."\n";
$msg .= "E-Mail:\n\t\t".$_POST["email"]."\n";
$msg .= "Message:\n\t\t".$_POST["message"]."\n";
foreach ($new_names as $name) {
if ($name != "") {
$msg .= "Link: xxx/uploads/$name"."\n\n";
Using this code I wil email that contains links to the uploaded files, which I can then sucessfully download. So it's the FW code that fails... and note that the Zend validation code above does work correctly; I get errors if invalid entries are made.
Also, I note that my hosting providers only support PHP 5.2.14, whereas on my XAMPP installation I'm using 5.3 Could that be an issue?
Maybe you are looking for
-
Instant crash on iPad1, iOS 4.3.3 with AIR 3.9.0.960 Beta
I built my application just fine. They also run perfectly okay on those devices: - iPod Touch 5, iOS 7.0 - iPhone 3GS, iOS 5.0.1 - iPhone 4, iOS 6.0 - iPad 3, iOS 6.1.3 But it crashes instantly on iPad1, iOS 4.3.3 I tried to debug to see if there's a
-
R200 - Question about external display resolution 1920*1200
My boss has bought this screen and is a little bit disappointed because he can't reach the maximum resolution of the 23" tft screen 1920*1200. The R200 proposes only resolution that have an aspect ratio of 4:3 so the maximum for the screen is 1600*12
-
Another java.lang.NoClassDefFoundError problem
C:\tinyos\cygwin\opt\tinyos-1.x\contrib\cotsbots\tools>java -jar RobotCmdGUI.jar RobotCmdGUI: Using group ID 125 Exception in thread "main" java.lang.NoClassDefFoundError: RobotCmd/RobotCmdGUI$ 1 at RobotCmd.RobotCmdGUI.initComponents(RobotCmdGUI.jav
-
Does anyone know how I can increase the volume on my iPhone 5s without jailbreaking the phone? Any add-on I can buy? Any app? HELP PLEASE! (My iPhone 4's volume was great!)
-
With the OC4J XML Taglib, an XML document may be parsed and transformed with the parsexml and transform tags. <XML:transform href="catalog.xsl" fromXMLObjName = "XMLDocument" > <XML:parsexml resource = "catalog.xml" t